Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009433/0.0009433, allocations: 93.86 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 179.2 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.2 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 5.375 kB / 301.4 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1194, allocations: 50.42 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.3315/0.4509, allocations: 86.49 MB / 438.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03681/0.4878, allocations: 20.59 MB / 458.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005835/0.4937, allocations: 103.1 kB / 459 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00396/0.4977, allocations: 0.7804 MB / 459.8 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01502/0.5127, allocations: 3.425 MB / 463.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01676/0.5295, allocations: 4.467 MB / 467.7 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01612/0.5457, allocations: 8.711 MB / 476.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004692/0.5504, allocations: 1.514 MB / 477.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.535/1.085, allocations: 125.9 MB / 0.5896 GB, free: 46.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.075/1.161, allocations: 55.02 MB / 0.6434 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/1.162, allocations: 124 kB / 0.6435 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01833/1.18, allocations: 7.965 MB / 0.6513 GB, free: 8.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002914/1.183, allocations: 0.9622 MB / 0.6522 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002112/1.185, allocations: 0.5295 MB / 0.6527 GB, free: 7.047 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008647/1.194, allocations: 3.843 MB / 0.6565 GB, free: 3.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.194, allocations: 0 / 0.6565 GB, free: 3.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.625e-06/1.194, allocations: 0 / 0.6565 GB, free: 3.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001936/1.194, allocations: 0 / 0.6565 GB, free: 3.91 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01017/1.204, allocations: 3.021 MB / 0.6594 GB, free: 1.129 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.204, allocations: 12.03 kB / 0.6594 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/1.206, allocations: 314.2 kB / 0.6597 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/1.21, allocations: 1.52 MB / 0.6612 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003352/1.211, allocations: 214.9 kB / 0.6614 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009395/1.212, allocations: 200 kB / 0.6616 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00802/1.22, allocations: 3.278 MB / 0.6648 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.87e-05/1.22, allocations: 12.98 kB / 0.6648 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005711/1.221, allocations: 86.36 kB / 0.6649 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003925/1.221, allocations: 247.6 kB / 0.6652 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006231/1.227, allocations: 3.101 MB / 0.6682 GB, free: 10.63 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02138/1.249, allocations: 13.81 MB / 0.6817 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/1.253, allocations: 2.215 MB / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/1.255, allocations: 1.349 MB / 0.6851 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009015/1.264, allocations: 5.871 MB / 0.6909 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/1.264, allocations: 55.73 kB / 0.6909 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009488/1.265, allocations: 181.5 kB / 0.6911 GB, free: 6.816 MB / 494.1 MB Notification: Performance of pre-optimization done (n=171): time 3.667e-06/1.265, allocations: 0 / 0.6911 GB, free: 6.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=197): time 0.02221/1.287, allocations: 9.302 MB / 0.7002 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/1.287, allocations: 73.41 kB / 0.7003 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/1.29, allocations: 1.828 MB / 0.702 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003583/1.29, allocations: 58.64 kB / 0.7021 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009146/1.291, allocations: 1.06 MB / 0.7031 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007654/1.292, allocations: 0.681 MB / 0.7038 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/1.292, allocations: 52.91 kB / 0.7039 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.293, allocations: 400.3 kB / 0.7042 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/1.295, allocations: 1.191 MB / 0.7054 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/1.297, allocations: 1.779 MB / 0.7071 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/1.3, allocations: 1.454 MB / 0.7086 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/1.3, allocations: 8 kB / 0.7086 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007385/1.307, allocations: 4.208 MB / 0.7127 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005355/1.307, allocations: 0.603 MB / 0.7133 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/1.308, allocations: 16 kB / 0.7133 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01309/1.321, allocations: 3.669 MB / 0.7169 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/1.322, allocations: 335.7 kB / 0.7172 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.276/1.598, allocations: 3.933 MB / 0.721 GB, free: 217.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/1.601, allocations: 189.5 kB / 0.7212 GB, free: 217.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003808/1.601, allocations: 124.7 kB / 0.7213 GB, free: 217.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.601, allocations: 3.719 kB / 0.7213 GB, free: 217.4 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007365/1.609, allocations: 3.789 MB / 0.725 GB, free: 217.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.837e-05/1.609, allocations: 16.75 kB / 0.725 GB, free: 217.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/1.62, allocations: 2.837 MB / 0.7278 GB, free: 216.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.622, allocations: 381.9 kB / 0.7282 GB, free: 216.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006505/1.628, allocations: 3.461 MB / 0.7316 GB, free: 215.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/1.631, allocations: 188.8 kB / 0.7317 GB, free: 215.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/1.631, allocations: 108.9 kB / 0.7318 GB, free: 215 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 107} Notification: Performance of prepare postOptimizeDAE: time 0.001709/1.633, allocations: 0.7007 MB / 0.7325 GB, free: 214.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/1.633, allocations: 226.6 kB / 0.7327 GB, free: 214.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007515/1.641, allocations: 3.961 MB / 0.7366 GB, free: 213.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/1.641, allocations: 34.61 kB / 0.7366 GB, free: 213.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/1.641, allocations: 4.719 kB / 0.7366 GB, free: 213.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004919/1.646, allocations: 3.377 MB / 0.7399 GB, free: 211.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/1.656, allocations: 6.304 MB / 0.7461 GB, free: 208.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.656, allocations: 0 / 0.7461 GB, free: 208.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.657, allocations: 315.2 kB / 0.7464 GB, free: 208.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003821/1.661, allocations: 1.226 MB / 0.7476 GB, free: 207.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/1.661, allocations: 75.94 kB / 0.7477 GB, free: 207.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008035/1.669, allocations: 10.45 MB / 0.7579 GB, free: 196.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.669, allocations: 4 kB / 0.7579 GB, free: 196.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008009/1.677, allocations: 5.191 MB / 0.7629 GB, free: 191.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.679, allocations: 0.6026 MB / 0.7635 GB, free: 190.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/1.679, allocations: 56.17 kB / 0.7636 GB, free: 190.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.681, allocations: 153.5 kB / 0.7637 GB, free: 190.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/1.681, allocations: 169.7 kB / 0.7639 GB, free: 190.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.681, allocations: 79.95 kB / 0.764 GB, free: 190.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001585/1.683, allocations: 1.245 MB / 0.7652 GB, free: 189 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.683, allocations: 0 / 0.7652 GB, free: 189 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004811/1.688, allocations: 1.732 MB / 0.7669 GB, free: 187.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.002221/1.69, allocations: 0.9684 MB / 0.7678 GB, free: 186.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008713/1.699, allocations: 4.96 MB / 0.7727 GB, free: 181.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.699, allocations: 0 / 0.7727 GB, free: 181.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003337/1.702, allocations: 2.245 MB / 0.7749 GB, free: 179.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/1.707, allocations: 0.9971 MB / 0.7758 GB, free: 178.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00884/1.715, allocations: 6.675 MB / 0.7824 GB, free: 172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.717, allocations: 1.858 MB / 0.7842 GB, free: 170.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008797/1.717, allocations: 207.3 kB / 0.7844 GB, free: 169.9 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/1.717, allocations: 0 / 0.7844 GB, free: 169.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.09189/1.809, allocations: 88.45 MB / 0.8707 GB, free: 81.41 MB / 0.4981 GB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.makefile make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Fluid.Examples.HeatingSystemCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Fluid.Examples.HeatingSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Fluid.Examples.HeatingSystemCalcHelperMain.o] Error 1