Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 202.3 kB / 8.541 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 225.5 MB / 234.4 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009178/0.0009178, allocations: 92.38 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.174/0.174, allocations: 45.12 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2072/0.3813, allocations: 69.39 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08965/0.4709, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.245/4.716, allocations: 2.771 GB / 3.275 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/4.716, allocations: 89.75 kB / 3.275 GB, free: 143.1 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 2.324/7.04, allocations: 0.8148 GB / 4.09 GB, free: 46.82 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/7.04, allocations: 11.94 kB / 4.09 GB, free: 46.82 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006717/7.046, allocations: 0.9076 MB / 4.091 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/7.048, allocations: 1.118 MB / 4.092 GB, free: 46.39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/7.049, allocations: 400.1 kB / 4.092 GB, free: 46.08 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/7.049, allocations: 100.9 kB / 4.092 GB, free: 46.07 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002955/7.052, allocations: 1.899 MB / 4.094 GB, free: 46.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/7.055, allocations: 2.422 MB / 4.096 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/7.055, allocations: 19.64 kB / 4.096 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/7.055, allocations: 11.69 kB / 4.096 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.389e-05/7.055, allocations: 77.08 kB / 4.097 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/7.07, allocations: 16.75 MB / 4.113 GB, free: 33.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007571/7.071, allocations: 499.7 kB / 4.113 GB, free: 33.39 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/7.071, allocations: 396.5 kB / 4.114 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008636/7.072, allocations: 0.6887 MB / 4.114 GB, free: 32.81 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/7.072, allocations: 48.22 kB / 4.114 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=95): time 2.405e-06/7.072, allocations: 0 / 4.114 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=111): time 0.009142/7.081, allocations: 3.383 MB / 4.118 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/7.081, allocations: 168.6 kB / 4.118 GB, free: 31.92 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/7.082, allocations: 0.9962 MB / 4.119 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/7.082, allocations: 25.7 kB / 4.119 GB, free: 31.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/7.083, allocations: 0.8667 MB / 4.12 GB, free: 31.12 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/7.083, allocations: 392.8 kB / 4.12 GB, free: 30.88 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/7.083, allocations: 0 / 4.12 GB, free: 30.88 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001364/7.083, allocations: 453 kB / 4.121 GB, free: 30.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007671/7.084, allocations: 0.5548 MB / 4.121 GB, free: 30.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/7.085, allocations: 1.774 MB / 4.123 GB, free: 28.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/7.087, allocations: 0.9172 MB / 4.124 GB, free: 28.97 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/7.087, allocations: 11.78 kB / 4.124 GB, free: 28.97 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005559/7.092, allocations: 2.842 MB / 4.127 GB, free: 28.81 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/7.092, allocations: 7.078 kB / 4.127 GB, free: 28.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.56e-05/7.092, allocations: 45.84 kB / 4.127 GB, free: 28.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/7.093, allocations: 427.4 kB / 4.127 GB, free: 28.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/7.095, allocations: 0.5467 MB / 4.128 GB, free: 28.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/7.097, allocations: 2.834 MB / 4.13 GB, free: 26.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/7.099, allocations: 204.2 kB / 4.13 GB, free: 26.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/7.099, allocations: 144.1 kB / 4.131 GB, free: 26.69 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (source2.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004071/7.1, allocations: 237.6 kB / 4.131 GB, free: 26.55 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/7.101, allocations: 0.569 MB / 4.131 GB, free: 26.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00486/7.106, allocations: 4.492 MB / 4.136 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/7.106, allocations: 39.5 kB / 4.136 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/7.106, allocations: 0 / 4.136 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/7.106, allocations: 6.375 kB / 4.136 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007258/7.113, allocations: 6.224 MB / 4.142 GB, free: 25.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/7.113, allocations: 9.281 kB / 4.142 GB, free: 25.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/7.114, allocations: 198.3 kB / 4.142 GB, free: 25.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/7.115, allocations: 420.4 kB / 4.142 GB, free: 25.28 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.25e-05/7.115, allocations: 22.44 kB / 4.143 GB, free: 25.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/7.117, allocations: 2.942 MB / 4.145 GB, free: 23.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/7.117, allocations: 5.938 kB / 4.145 GB, free: 23.18 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00567/7.123, allocations: 4.749 MB / 4.15 GB, free: 22.33 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007092/7.13, allocations: 6.304 MB / 4.156 GB, free: 21.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008797/7.131, allocations: 485.6 kB / 4.157 GB, free: 20.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/7.131, allocations: 6.875 kB / 4.157 GB, free: 20.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/7.132, allocations: 136.4 kB / 4.157 GB, free: 20.85 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/7.133, allocations: 112.8 kB / 4.157 GB, free: 20.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/7.133, allocations: 56.48 kB / 4.157 GB, free: 20.85 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001057/7.134, allocations: 0.8647 MB / 4.158 GB, free: 20.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007022/7.141, allocations: 1.619 MB / 4.159 GB, free: 20.56 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,source1.medium.phase,source2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007269/7.148, allocations: 2.313 MB / 4.162 GB, free: 20.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003347/7.151, allocations: 2.461 MB / 4.164 GB, free: 20.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/7.151, allocations: 0.625 kB / 4.164 GB, free: 20.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/7.154, allocations: 1.856 MB / 4.166 GB, free: 20.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/7.156, allocations: 0.5379 MB / 4.166 GB, free: 20.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005782/7.162, allocations: 3.804 MB / 4.17 GB, free: 19.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/7.163, allocations: 1.788 MB / 4.172 GB, free: 18.59 MB / 0.5573 GB Notification: Performance of SimCode: time 8.02e-07/7.163, allocations: 2.688 kB / 4.172 GB, free: 18.59 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)