Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.0009859/0.0009859, allocations: 179.8 kB / 8.517 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.137/1.137, allocations: 221.4 MB / 230.3 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008854/0.0008854, allocations: 92.34 kB / 281.2 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.255/0.255, allocations: 44.14 MB / 376.1 MB, free: 43.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09723/0.3523, allocations: 68.03 MB / 444.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.5855, allocations: 61.91 MB / 0.4942 GB, free: 42.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.115/4.701, allocations: 3.082 GB / 3.577 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/4.701, allocations: 66.25 kB / 3.577 GB, free: 55.54 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.5721/5.273, allocations: 210.6 MB / 3.782 GB, free: 62.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/5.273, allocations: 13.19 kB / 3.782 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/5.273, allocations: 27.72 kB / 3.782 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/5.273, allocations: 222.8 kB / 3.783 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-05/5.273, allocations: 119.2 kB / 3.783 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/5.273, allocations: 16 kB / 3.783 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006195/5.274, allocations: 0.7072 MB / 3.783 GB, free: 61.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/5.274, allocations: 281.9 kB / 3.784 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/5.274, allocations: 0 / 3.784 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/5.274, allocations: 4 kB / 3.784 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/5.274, allocations: 8 kB / 3.784 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/5.277, allocations: 3.511 MB / 3.787 GB, free: 57.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.871e-05/5.277, allocations: 50.53 kB / 3.787 GB, free: 57.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/5.277, allocations: 20.92 kB / 3.787 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004226/5.277, allocations: 434 kB / 3.788 GB, free: 56.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/5.277, allocations: 42.73 kB / 3.788 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/5.277, allocations: 0 / 3.788 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001584/5.277, allocations: 53.45 kB / 3.788 GB, free: 56.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.387e-05/5.277, allocations: 55.41 kB / 3.788 GB, free: 56.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/5.277, allocations: 216.8 kB / 3.788 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/5.277, allocations: 25.7 kB / 3.788 GB, free: 56.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/5.278, allocations: 250 kB / 3.788 GB, free: 56.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/5.278, allocations: 11.98 kB / 3.788 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-06/5.278, allocations: 4.031 kB / 3.788 GB, free: 56.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.02e-05/5.278, allocations: 322.8 kB / 3.789 GB, free: 55.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/5.278, allocations: 36.86 kB / 3.789 GB, free: 55.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/5.278, allocations: 332.1 kB / 3.789 GB, free: 55.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/5.278, allocations: 123.7 kB / 3.789 GB, free: 55.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/5.278, allocations: 4 kB / 3.789 GB, free: 55.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000617/5.279, allocations: 345.3 kB / 3.789 GB, free: 54.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/5.279, allocations: 4 kB / 3.789 GB, free: 54.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/5.279, allocations: 12 kB / 3.789 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/5.279, allocations: 16 kB / 3.789 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/5.279, allocations: 92.55 kB / 3.789 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/5.279, allocations: 31.86 kB / 3.789 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/5.279, allocations: 51.38 kB / 3.79 GB, free: 54.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/5.279, allocations: 28 kB / 3.79 GB, free: 54.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 5.602e-05/5.279, allocations: 124.7 kB / 3.79 GB, free: 54.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/5.28, allocations: 23.72 kB / 3.79 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/5.28, allocations: 16.8 kB / 3.79 GB, free: 54.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/5.28, allocations: 0 / 3.79 GB, free: 54.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/5.28, allocations: 4 kB / 3.79 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/5.28, allocations: 7.984 kB / 3.79 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/5.28, allocations: 178.1 kB / 3.79 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/5.28, allocations: 0 / 3.79 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/5.28, allocations: 0 / 3.79 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/5.28, allocations: 4 kB / 3.79 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/5.28, allocations: 0 / 3.79 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/5.28, allocations: 0 / 3.79 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/5.28, allocations: 4 kB / 3.79 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.507e-05/5.28, allocations: 159.2 kB / 3.79 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002946/5.28, allocations: 0.5701 MB / 3.791 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/5.28, allocations: 112.7 kB / 3.791 GB, free: 53.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/5.28, allocations: 3.938 kB / 3.791 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/5.28, allocations: 0 / 3.791 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/5.28, allocations: 4 kB / 3.791 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/5.28, allocations: 4.062 kB / 3.791 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.234e-05/5.281, allocations: 149.2 kB / 3.791 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00121/5.282, allocations: 119.9 kB / 3.791 GB, free: 52.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0003224/5.282, allocations: 302.6 kB / 3.791 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001985/5.282, allocations: 134.1 kB / 3.791 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/5.282, allocations: 0.625 kB / 3.791 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.862e-05/5.282, allocations: 11.98 kB / 3.791 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/5.283, allocations: 8.5 kB / 3.791 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3401/5.623, allocations: 96.92 MB / 3.886 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/5.623, allocations: 0.7557 MB / 3.887 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/5.623, allocations: 0 / 3.887 GB, free: 139.2 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1)