Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,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="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,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="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001622, allocations: 176.1 kB / 8.147 MB, free: 2.133 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.2 MB / 213.8 MB, free: 14 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001287, allocations: 92.23 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2692/0.2692, allocations: 43.49 MB / 353.2 MB, free: 2.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/7.995e-06, allocations: 0 / 417.7 MB, free: 40.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3003, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.273/7.574, allocations: 3.163 GB / 3.629 GB, free: 81.45 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/7.574, allocations: 82.72 kB / 3.629 GB, free: 81.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 11.75/19.33, allocations: 3.089 GB / 6.718 GB, free: 48.01 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003113/19.33, allocations: 59.08 kB / 6.718 GB, free: 48 MB / 0.5261 GB 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.01829/19.34, allocations: 3.604 MB / 6.722 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/19.34, allocations: 9.906 kB / 6.722 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/19.35, allocations: 310.4 kB / 6.722 GB, free: 46.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009045/19.36, allocations: 2.095 MB / 6.724 GB, free: 45.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/19.36, allocations: 152 kB / 6.724 GB, free: 45.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/19.36, allocations: 114.3 kB / 6.724 GB, free: 45.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009053/19.37, allocations: 2.942 MB / 6.727 GB, free: 45.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009262/19.38, allocations: 3.097 MB / 6.73 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.578e-05/19.38, allocations: 3.781 kB / 6.73 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004151/19.38, allocations: 11.03 kB / 6.73 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002699/19.38, allocations: 210.1 kB / 6.73 GB, free: 45.06 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/19.41, allocations: 12.05 MB / 6.742 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/19.41, allocations: 1.362 MB / 6.743 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003295/19.42, allocations: 1.356 MB / 6.745 GB, free: 40.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01401/19.43, allocations: 6.012 MB / 6.751 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/19.43, allocations: 53.59 kB / 6.751 GB, free: 37.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=173): time 5.53e-06/19.43, allocations: 0 / 6.751 GB, free: 37.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199): time 0.04627/19.48, allocations: 8.824 MB / 6.759 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/19.48, allocations: 128.9 kB / 6.759 GB, free: 35.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/19.48, allocations: 1.217 MB / 6.761 GB, free: 35.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007113/19.48, allocations: 25.7 kB / 6.761 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005234/19.48, allocations: 0.7503 MB / 6.761 GB, free: 34.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/19.48, allocations: 0.6595 MB / 6.762 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/19.48, allocations: 2.719 kB / 6.762 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001852/19.48, allocations: 405.5 kB / 6.762 GB, free: 33.63 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00355/19.49, allocations: 1.212 MB / 6.764 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004322/19.49, allocations: 1.715 MB / 6.765 GB, free: 32.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02876/19.52, allocations: 3.939 MB / 6.769 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-05/19.52, allocations: 4.094 kB / 6.769 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.03821/19.56, allocations: 6.164 MB / 6.775 GB, free: 29.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001418/19.56, allocations: 5.65 MB / 6.781 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.868e-05/19.56, allocations: 16 kB / 6.781 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005269/19.56, allocations: 0.9646 MB / 6.782 GB, free: 22.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004363/19.57, allocations: 470.1 kB / 6.782 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01579/19.58, allocations: 10.47 MB / 6.792 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/19.59, allocations: 137.8 kB / 6.792 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004627/19.59, allocations: 112.7 kB / 6.793 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/19.59, allocations: 4 kB / 6.793 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03433/19.62, allocations: 5.709 MB / 6.798 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.672e-05/19.62, allocations: 20 kB / 6.798 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004008/19.63, allocations: 0.7944 MB / 6.799 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004894/19.63, allocations: 0.4915 MB / 6.799 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/19.65, allocations: 10.03 MB / 6.809 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/19.65, allocations: 140.7 kB / 6.809 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000559/19.65, allocations: 114.2 kB / 6.809 GB, free: 11.85 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump.dp_pump:VARIABLE(unit = "Pa" ) "Pressure change" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 241 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009565/19.65, allocations: 84.7 kB / 6.81 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009396/19.65, allocations: 201.6 kB / 6.81 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02098/19.68, allocations: 4.389 MB / 6.814 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-05/19.68, allocations: 21.36 kB / 6.814 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.891e-05/19.68, allocations: 4 kB / 6.814 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01481/19.69, allocations: 3.669 MB / 6.818 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2629/19.95, allocations: 6.433 MB / 6.824 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/19.95, allocations: 7.344 kB / 6.824 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/19.96, allocations: 317 kB / 6.824 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005735/19.96, allocations: 1.03 MB / 6.825 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006364/19.96, allocations: 51.19 kB / 6.825 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/19.98, allocations: 10.33 MB / 6.835 GB, free: 93.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/19.98, allocations: 6.531 kB / 6.835 GB, free: 93.54 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01933/20, allocations: 5.535 MB / 6.841 GB, free: 93.28 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/20, allocations: 0.5852 MB / 6.841 GB, free: 93.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009838/20, allocations: 19.94 kB / 6.841 GB, free: 93.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003689/20, allocations: 110.5 kB / 6.841 GB, free: 93.19 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008474/20.01, allocations: 146.8 kB / 6.842 GB, free: 93.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003665/20.01, allocations: 76.27 kB / 6.842 GB, free: 93.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002164/20.01, allocations: 0.8922 MB / 6.843 GB, free: 93.08 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01095/20.02, allocations: 1.854 MB / 6.844 GB, free: 93.08 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 170 * 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%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,5 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.005155/20.02, allocations: 1.363 MB / 6.846 GB, free: 92.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01712/20.04, allocations: 5.829 MB / 6.851 GB, free: 91.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/20.04, allocations: 0 / 6.851 GB, free: 91.92 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006413/20.05, allocations: 2.107 MB / 6.853 GB, free: 91.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00789/20.06, allocations: 0.7868 MB / 6.854 GB, free: 91.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/20.07, allocations: 4.808 MB / 6.859 GB, free: 90.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004908/20.08, allocations: 2.158 MB / 6.861 GB, free: 89.81 MB / 0.5417 GB Notification: Performance of SimCode: time 1.773e-06/20.08, allocations: 0 / 6.861 GB, free: 89.81 MB / 0.5417 GB Notification: Performance of Templates: time 0.1704/20.25, allocations: 118.5 MB / 6.977 GB, free: 67.52 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)