Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 194 kB / 7.804 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 91.95 kB / 261.4 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1962/0.1962, allocations: 43.49 MB / 352.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2241/0.4203, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.74, allocations: 58.83 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.445/7.185, allocations: 3.076 GB / 3.541 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/7.186, allocations: 79.23 kB / 3.541 GB, free: 147.2 MB / 0.4948 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.7032/7.889, allocations: 209 MB / 3.745 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/7.889, allocations: 7.938 kB / 3.745 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/7.889, allocations: 33.69 kB / 3.745 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/7.889, allocations: 223.8 kB / 3.745 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/7.889, allocations: 118.3 kB / 3.746 GB, free: 105 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/7.889, allocations: 17.28 kB / 3.746 GB, free: 105 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007426/7.89, allocations: 0.7072 MB / 3.746 GB, free: 105 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/7.891, allocations: 288.5 kB / 3.747 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/7.891, allocations: 0 / 3.747 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/7.891, allocations: 3.281 kB / 3.747 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/7.891, allocations: 7.469 kB / 3.747 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/7.893, allocations: 3.505 MB / 3.75 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/7.893, allocations: 46.16 kB / 3.75 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/7.893, allocations: 20.19 kB / 3.75 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004424/7.894, allocations: 447.8 kB / 3.75 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/7.894, allocations: 32.16 kB / 3.75 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 2.264e-06/7.894, allocations: 3.797 kB / 3.75 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002143/7.894, allocations: 50.61 kB / 3.751 GB, free: 101 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/7.894, allocations: 54.69 kB / 3.751 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/7.894, allocations: 221.2 kB / 3.751 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/7.894, allocations: 29.67 kB / 3.751 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/7.895, allocations: 256.1 kB / 3.751 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-06/7.895, allocations: 11.05 kB / 3.751 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/7.895, allocations: 0 / 3.751 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/7.895, allocations: 324.4 kB / 3.751 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.203e-05/7.895, allocations: 34.33 kB / 3.751 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/7.895, allocations: 342 kB / 3.752 GB, free: 99.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/7.895, allocations: 116.5 kB / 3.752 GB, free: 99.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/7.895, allocations: 6.719 kB / 3.752 GB, free: 99.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006085/7.896, allocations: 338.3 kB / 3.752 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/7.896, allocations: 3.656 kB / 3.752 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/7.896, allocations: 11 kB / 3.752 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/7.896, allocations: 15.38 kB / 3.752 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/7.896, allocations: 112.5 kB / 3.752 GB, free: 99.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/7.896, allocations: 17.91 kB / 3.752 GB, free: 99.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/7.896, allocations: 50.77 kB / 3.752 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/7.896, allocations: 30.22 kB / 3.752 GB, free: 99.78 MB / 0.4948 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 7.211e-05/7.897, allocations: 124.2 kB / 3.753 GB, free: 99.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/7.897, allocations: 21.84 kB / 3.753 GB, free: 99.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/7.897, allocations: 19.09 kB / 3.753 GB, free: 99.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/7.897, allocations: 0 / 3.753 GB, free: 99.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/7.897, allocations: 3.344 kB / 3.753 GB, free: 99.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/7.897, allocations: 3.938 kB / 3.753 GB, free: 99.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/7.897, allocations: 174.8 kB / 3.753 GB, free: 99.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/7.897, allocations: 0 / 3.753 GB, free: 99.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/7.897, allocations: 0 / 3.753 GB, free: 99.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/7.897, allocations: 7.094 kB / 3.753 GB, free: 99.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/7.897, allocations: 0 / 3.753 GB, free: 99.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/7.897, allocations: 0 / 3.753 GB, free: 99.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/7.897, allocations: 0 / 3.753 GB, free: 99.47 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000112/7.897, allocations: 153.2 kB / 3.753 GB, free: 99.33 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004165/7.897, allocations: 0.5721 MB / 3.753 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/7.898, allocations: 118.2 kB / 3.754 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/7.898, allocations: 7.531 kB / 3.754 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/7.898, allocations: 3.688 kB / 3.754 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/7.898, allocations: 0 / 3.754 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/7.898, allocations: 0 / 3.754 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001054/7.898, allocations: 148.6 kB / 3.754 GB, free: 98.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001274/7.899, allocations: 126.8 kB / 3.754 GB, free: 98.62 MB / 0.4948 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.0004892/7.9, allocations: 294.6 kB / 3.754 GB, free: 98.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002975/7.9, allocations: 141 kB / 3.754 GB, free: 98.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/7.9, allocations: 0 / 3.754 GB, free: 98.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/7.9, allocations: 7.453 kB / 3.754 GB, free: 98.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/7.9, allocations: 13.84 kB / 3.754 GB, free: 98.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2418/8.142, allocations: 96.24 MB / 3.848 GB, free: 64.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/8.142, allocations: 0.7553 MB / 3.849 GB, free: 63.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/8.142, allocations: 0 / 3.849 GB, free: 63.31 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1)