Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",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 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 183.8 kB / 8.518 MB, free: 496 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 221.4 MB / 230.3 MB, free: 13.57 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008989/0.0008989, allocations: 91.67 kB / 281.2 MB, free: 10.6 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1642/0.1642, allocations: 44.15 MB / 376.1 MB, free: 11.74 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1871/0.3514, allocations: 68.03 MB / 444.1 MB, free: 54.3 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.4454, allocations: 61.9 MB / 0.4942 GB, free: 8.332 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.114/4.559, allocations: 2.805 GB / 3.299 GB, free: 60.89 MB / 0.5183 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/4.559, allocations: 83.95 kB / 3.299 GB, free: 60.81 MB / 0.5183 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.682/5.241, allocations: 237.4 MB / 3.531 GB, free: 31.73 MB / 0.5183 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/5.241, allocations: 13.19 kB / 3.531 GB, free: 31.72 MB / 0.5183 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/5.244, allocations: 275 kB / 3.531 GB, free: 31.45 MB / 0.5183 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/5.244, allocations: 415.2 kB / 3.532 GB, free: 31 MB / 0.5183 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/5.244, allocations: 12 kB / 3.532 GB, free: 30.99 MB / 0.5183 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/5.244, allocations: 20 kB / 3.532 GB, free: 30.97 MB / 0.5183 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005257/5.245, allocations: 353.4 kB / 3.532 GB, free: 30.63 MB / 0.5183 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/5.246, allocations: 421.6 kB / 3.532 GB, free: 30.17 MB / 0.5183 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/5.246, allocations: 0 / 3.532 GB, free: 30.17 MB / 0.5183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/5.246, allocations: 3.984 kB / 3.532 GB, free: 30.17 MB / 0.5183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/5.246, allocations: 12 kB / 3.532 GB, free: 30.16 MB / 0.5183 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01664/5.262, allocations: 10.33 MB / 3.542 GB, free: 18.73 MB / 0.5183 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/5.263, allocations: 230.8 kB / 3.543 GB, free: 18.5 MB / 0.5183 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/5.263, allocations: 137.4 kB / 3.543 GB, free: 18.36 MB / 0.5183 GB Notification: Performance of preOpt evalFunc (simulation): time 0.215/5.478, allocations: 24.2 MB / 3.566 GB, free: 129.1 MB / 0.5183 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/5.478, allocations: 43.66 kB / 3.566 GB, free: 129.1 MB / 0.5183 GB Notification: Performance of pre-optimization done (n=26): time 3.016e-06/5.478, allocations: 7.812 kB / 3.566 GB, free: 129.1 MB / 0.5183 GB Notification: Performance of matching and sorting (n=26): time 0.002013/5.48, allocations: 0.5401 MB / 3.567 GB, free: 129 MB / 0.5183 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/5.48, allocations: 113.1 kB / 3.567 GB, free: 128.9 MB / 0.5183 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/5.48, allocations: 259.2 kB / 3.567 GB, free: 128.8 MB / 0.5183 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/5.48, allocations: 29.3 kB / 3.567 GB, free: 128.8 MB / 0.5183 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/5.48, allocations: 198.6 kB / 3.568 GB, free: 128.7 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/5.481, allocations: 85.66 kB / 3.568 GB, free: 128.6 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/5.481, allocations: 0 / 3.568 GB, free: 128.6 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/5.481, allocations: 344.4 kB / 3.568 GB, free: 128.3 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/5.481, allocations: 128.4 kB / 3.568 GB, free: 128.3 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/5.481, allocations: 216.3 kB / 3.568 GB, free: 128.2 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009494/5.482, allocations: 238 kB / 3.569 GB, free: 128.2 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/5.482, allocations: 3.719 kB / 3.569 GB, free: 128.2 MB / 0.5183 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001815/5.484, allocations: 0.6311 MB / 3.569 GB, free: 128.1 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/5.484, allocations: 1.052 MB / 3.57 GB, free: 127.1 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/5.484, allocations: 0 / 3.57 GB, free: 127.1 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/5.484, allocations: 7.531 kB / 3.57 GB, free: 127.1 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/5.485, allocations: 124.5 kB / 3.57 GB, free: 127.1 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/5.485, allocations: 3.438 kB / 3.57 GB, free: 127.1 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/5.485, allocations: 92.7 kB / 3.57 GB, free: 127 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/5.485, allocations: 21.75 kB / 3.57 GB, free: 127 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/5.485, allocations: 4.656 kB / 3.57 GB, free: 127 MB / 0.5183 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001051/5.486, allocations: 387 kB / 3.571 GB, free: 127 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/5.486, allocations: 0 / 3.571 GB, free: 127 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-06/5.486, allocations: 7.5 kB / 3.571 GB, free: 127 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/5.487, allocations: 113.9 kB / 3.571 GB, free: 127 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/5.487, allocations: 7.625 kB / 3.571 GB, free: 127 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/5.487, allocations: 72.2 kB / 3.571 GB, free: 127 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/5.487, allocations: 21.3 kB / 3.571 GB, free: 127 MB / 0.5183 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/5.487, allocations: 115.8 kB / 3.571 GB, free: 126.9 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005481/5.488, allocations: 196.2 kB / 3.571 GB, free: 126.9 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/5.49, allocations: 1.734 MB / 3.573 GB, free: 126.8 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/5.49, allocations: 24.83 kB / 3.573 GB, free: 126.8 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/5.49, allocations: 0 / 3.573 GB, free: 126.8 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/5.49, allocations: 0 / 3.573 GB, free: 126.8 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/5.493, allocations: 2.489 MB / 3.575 GB, free: 126.3 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/5.493, allocations: 0 / 3.575 GB, free: 126.3 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/5.493, allocations: 90.73 kB / 3.576 GB, free: 126.3 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/5.493, allocations: 2.906 kB / 3.576 GB, free: 126.3 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/5.493, allocations: 10.41 kB / 3.576 GB, free: 126.3 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/5.493, allocations: 3.656 kB / 3.576 GB, free: 126.3 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/5.493, allocations: 0.6562 kB / 3.576 GB, free: 126.3 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001957/5.495, allocations: 1.484 MB / 3.577 GB, free: 126 MB / 0.5183 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002098/5.498, allocations: 1.898 MB / 3.579 GB, free: 125.4 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/5.498, allocations: 213.5 kB / 3.579 GB, free: 125.2 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/5.498, allocations: 3.344 kB / 3.579 GB, free: 125.2 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/5.498, allocations: 51.36 kB / 3.579 GB, free: 125.2 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/5.499, allocations: 52.86 kB / 3.579 GB, free: 125.2 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/5.499, allocations: 16.78 kB / 3.579 GB, free: 125.2 MB / 0.5183 GB Notification: Performance of sort global known variables: time 0.0002401/5.499, allocations: 258.2 kB / 3.579 GB, free: 125.2 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.006166/5.505, allocations: 1.388 MB / 3.581 GB, free: 125.1 MB / 0.5183 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007229/5.512, allocations: 1.57 MB / 3.582 GB, free: 125 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 0.001057/5.513, allocations: 0.9115 MB / 3.583 GB, free: 125 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/5.513, allocations: 1.5 kB / 3.583 GB, free: 125 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 0.000537/5.514, allocations: 0.6991 MB / 3.584 GB, free: 125 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/5.515, allocations: 172.2 kB / 3.584 GB, free: 125 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/5.517, allocations: 1.177 MB / 3.585 GB, free: 124.8 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/5.517, allocations: 0.9977 MB / 3.586 GB, free: 124.1 MB / 0.5183 GB Notification: Performance of SimCode: time 2.81e-07/5.517, allocations: 0 / 3.586 GB, free: 124.1 MB / 0.5183 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1)