Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001352/0.001352, allocations: 94.22 kB / 17.96 MB, free: 5.418 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.001331/0.001331, allocations: 176.3 kB / 18.86 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 225 MB, free: 12.84 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005572/0.0005572, allocations: 15.12 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1423, allocations: 47.59 MB / 329.6 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.4394/0.5817, allocations: 93.76 MB / 423.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0399/0.6217, allocations: 22.3 MB / 445.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005094/0.6269, allocations: 107.1 kB / 445.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.6302, allocations: 0.8199 MB / 446.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01382/0.644, allocations: 3.509 MB / 450.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01613/0.6602, allocations: 4.919 MB / 455 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01655/0.6768, allocations: 10.68 MB / 465.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004171/0.681, allocations: 1.577 MB / 467.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1722/0.8532, allocations: 73.35 MB / 0.528 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4572/1.31, allocations: 31.94 MB / 0.5592 GB, free: 69.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001345/1.312, allocations: 126.7 kB / 0.5593 GB, free: 69.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01739/1.329, allocations: 5.951 MB / 0.5651 GB, free: 68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003223/1.333, allocations: 0.966 MB / 0.566 GB, free: 68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003326/1.336, allocations: 1.39 MB / 0.5674 GB, free: 67.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/1.346, allocations: 3.945 MB / 0.5712 GB, free: 66.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/1.346, allocations: 0 / 0.5712 GB, free: 66.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.083e-06/1.346, allocations: 0 / 0.5712 GB, free: 66.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001327/1.346, allocations: 0 / 0.5712 GB, free: 66.97 MB / 430.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.009166/1.355, allocations: 2.999 MB / 0.5742 GB, free: 65.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.355, allocations: 11.69 kB / 0.5742 GB, free: 65.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/1.357, allocations: 309.9 kB / 0.5745 GB, free: 65.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002954/1.36, allocations: 1.579 MB / 0.576 GB, free: 64.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/1.36, allocations: 219.5 kB / 0.5762 GB, free: 64.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/1.36, allocations: 192.5 kB / 0.5764 GB, free: 64.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005201/1.365, allocations: 3.305 MB / 0.5796 GB, free: 62.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.588e-05/1.365, allocations: 10.91 kB / 0.5797 GB, free: 62.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/1.366, allocations: 82.56 kB / 0.5797 GB, free: 62.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002826/1.366, allocations: 247.2 kB / 0.58 GB, free: 62.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004774/1.371, allocations: 3.116 MB / 0.583 GB, free: 60.02 MB / 430.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.0183/1.389, allocations: 13.8 MB / 0.5965 GB, free: 47.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/1.393, allocations: 2.228 MB / 0.5987 GB, free: 46.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/1.395, allocations: 1.358 MB / 0.6 GB, free: 45.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008158/1.403, allocations: 5.873 MB / 0.6057 GB, free: 40.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/1.403, allocations: 56.56 kB / 0.6058 GB, free: 39.96 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001012/1.404, allocations: 182 kB / 0.606 GB, free: 39.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=171): time 4.298e-06/1.404, allocations: 0 / 0.606 GB, free: 39.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=197): time 0.02034/1.424, allocations: 9.225 MB / 0.615 GB, free: 30.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/1.424, allocations: 73.39 kB / 0.615 GB, free: 30.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/1.427, allocations: 1.845 MB / 0.6168 GB, free: 28.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002324/1.427, allocations: 61.7 kB / 0.6169 GB, free: 28.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00063/1.428, allocations: 1.059 MB / 0.6179 GB, free: 27.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/1.429, allocations: 0.6893 MB / 0.6186 GB, free: 26.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/1.429, allocations: 194.4 kB / 0.6188 GB, free: 26.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.965e-05/1.429, allocations: 301.1 kB / 0.6191 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/1.431, allocations: 1.234 MB / 0.6203 GB, free: 24.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/1.433, allocations: 1.802 MB / 0.622 GB, free: 22.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004074/1.437, allocations: 3.17 MB / 0.6251 GB, free: 19.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-06/1.437, allocations: 8 kB / 0.6251 GB, free: 19.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006698/1.444, allocations: 4.297 MB / 0.6293 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005557/1.444, allocations: 0.6049 MB / 0.6299 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/1.444, allocations: 16 kB / 0.6299 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01361/1.458, allocations: 3.655 MB / 0.6335 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.459, allocations: 336.2 kB / 0.6338 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007058/1.466, allocations: 3.952 MB / 0.6377 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/1.47, allocations: 183.9 kB / 0.6379 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004552/1.47, allocations: 112 kB / 0.638 GB, free: 6.352 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.47, allocations: 4 kB / 0.638 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006714/1.477, allocations: 3.815 MB / 0.6417 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.479e-05/1.477, allocations: 19.98 kB / 0.6417 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009458/1.486, allocations: 2.868 MB / 0.6445 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/1.488, allocations: 376.7 kB / 0.6449 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006595/1.495, allocations: 3.477 MB / 0.6483 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/1.498, allocations: 191.6 kB / 0.6485 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005084/1.498, allocations: 108 kB / 0.6486 GB, free: 11.65 MB / 446.1 MB 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.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,107)} Notification: Performance of prepare postOptimizeDAE: time 0.002173/1.501, allocations: 0.7053 MB / 0.6493 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007908/1.501, allocations: 233.2 kB / 0.6495 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009345/1.511, allocations: 3.964 MB / 0.6533 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/1.511, allocations: 22.53 kB / 0.6534 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.405e-05/1.511, allocations: 4 kB / 0.6534 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00681/1.518, allocations: 3.398 MB / 0.6567 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/1.533, allocations: 6.331 MB / 0.6629 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.533, allocations: 0 / 0.6629 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.535, allocations: 318.3 kB / 0.6632 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004897/1.54, allocations: 1.228 MB / 0.6644 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002917/1.54, allocations: 82.59 kB / 0.6645 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/1.553, allocations: 10.46 MB / 0.6747 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.553, allocations: 2.438 kB / 0.6747 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/1.565, allocations: 5.206 MB / 0.6798 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002344/1.568, allocations: 0.5993 MB / 0.6803 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008887/1.569, allocations: 55.98 kB / 0.6804 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/1.571, allocations: 143.7 kB / 0.6805 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005643/1.572, allocations: 168.6 kB / 0.6807 GB, free: 9.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003322/1.572, allocations: 83.95 kB / 0.6808 GB, free: 9.879 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002921/1.575, allocations: 1.257 MB / 0.682 GB, free: 8.602 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.575, allocations: 0 / 0.682 GB, free: 8.602 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007893/1.583, allocations: 1.738 MB / 0.6837 GB, free: 6.863 MB / 478.1 MB 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,9), (2,8), (6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004051/1.587, allocations: 1.001 MB / 0.6847 GB, free: 5.934 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01294/1.6, allocations: 5.036 MB / 0.6896 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.6, allocations: 4.188 kB / 0.6896 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00548/1.605, allocations: 2.241 MB / 0.6918 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007491/1.613, allocations: 0.9881 MB / 0.6927 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/1.628, allocations: 6.952 MB / 0.6995 GB, free: 6.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/1.631, allocations: 1.848 MB / 0.7013 GB, free: 4.887 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/1.633, allocations: 203.4 kB / 0.7015 GB, free: 4.688 MB / 494.1 MB Notification: Performance of SimCode: time 1.994e-06/1.633, allocations: 0 / 0.7015 GB, free: 4.688 MB / 494.1 MB Notification: Performance of Templates: time 0.3179/1.951, allocations: 88.41 MB / 0.7879 GB, free: 145.3 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Fluid.Examples.HeatingSystemCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.HeatingSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.HeatingSystemCalcHelperMain.o] Error 1