Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.001169/0.001169, allocations: 191.1 kB / 7.804 MB, free: 2.488 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.38/1.38, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001027/0.001027, allocations: 95.97 kB / 261.4 MB, free: 13.55 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.2082/0.2082, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2438/0.4521, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.7917, allocations: 58.84 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6913/1.483, allocations: 374.4 MB / 0.8311 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.483, allocations: 75.39 kB / 0.8312 GB, free: 9.555 MB / 0.5105 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.2973/1.781, allocations: 19.12 MB / 0.8499 GB, free: 200.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/1.781, allocations: 11.09 kB / 0.8499 GB, free: 200.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/1.781, allocations: 31.44 kB / 0.8499 GB, free: 200.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/1.781, allocations: 218.4 kB / 0.8501 GB, free: 200.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/1.782, allocations: 115.1 kB / 0.8502 GB, free: 200.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/1.782, allocations: 19.56 kB / 0.8502 GB, free: 200.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00103/1.783, allocations: 0.7096 MB / 0.8509 GB, free: 200.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/1.783, allocations: 285.4 kB / 0.8512 GB, free: 200.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.783, allocations: 0 / 0.8512 GB, free: 200.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/1.783, allocations: 10.5 kB / 0.8512 GB, free: 200.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/1.783, allocations: 7.391 kB / 0.8512 GB, free: 200.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/1.787, allocations: 3.504 MB / 0.8546 GB, free: 197 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/1.787, allocations: 44.75 kB / 0.8547 GB, free: 197 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/1.787, allocations: 15.48 kB / 0.8547 GB, free: 197 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005843/1.787, allocations: 445.4 kB / 0.8551 GB, free: 196.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.788, allocations: 37.56 kB / 0.8552 GB, free: 196.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 2.375e-06/1.788, allocations: 0 / 0.8552 GB, free: 196.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002575/1.788, allocations: 56.59 kB / 0.8552 GB, free: 196.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/1.788, allocations: 51.41 kB / 0.8553 GB, free: 196.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/1.788, allocations: 215.6 kB / 0.8555 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/1.788, allocations: 25.7 kB / 0.8555 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/1.788, allocations: 254 kB / 0.8557 GB, free: 196.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/1.788, allocations: 13.91 kB / 0.8557 GB, free: 196.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/1.788, allocations: 0 / 0.8557 GB, free: 196.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.183e-05/1.788, allocations: 330.1 kB / 0.8561 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/1.788, allocations: 36.75 kB / 0.8561 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/1.789, allocations: 332.9 kB / 0.8564 GB, free: 195.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/1.789, allocations: 127.9 kB / 0.8565 GB, free: 195.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.789, allocations: 3.969 kB / 0.8565 GB, free: 195.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001042/1.79, allocations: 336.3 kB / 0.8569 GB, free: 195.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.79, allocations: 7.875 kB / 0.8569 GB, free: 195.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/1.79, allocations: 12.78 kB / 0.8569 GB, free: 195.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/1.79, allocations: 15.69 kB / 0.8569 GB, free: 195.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/1.791, allocations: 105.1 kB / 0.857 GB, free: 195.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/1.791, allocations: 23.42 kB / 0.857 GB, free: 195.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/1.791, allocations: 47.16 kB / 0.8571 GB, free: 195.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/1.791, allocations: 25.88 kB / 0.8571 GB, free: 195.2 MB / 0.5105 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 0.0001042/1.791, allocations: 127.1 kB / 0.8572 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/1.792, allocations: 27.39 kB / 0.8572 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/1.792, allocations: 15.28 kB / 0.8573 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.792, allocations: 4 kB / 0.8573 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.792, allocations: 3.969 kB / 0.8573 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.792, allocations: 7.781 kB / 0.8573 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/1.792, allocations: 167.8 kB / 0.8574 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.792, allocations: 0 / 0.8574 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-06/1.792, allocations: 0 / 0.8574 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.792, allocations: 0 / 0.8574 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.792, allocations: 7.906 kB / 0.8574 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/1.792, allocations: 7.875 kB / 0.8574 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.792, allocations: 3.844 kB / 0.8574 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001499/1.792, allocations: 144.6 kB / 0.8576 GB, free: 194.8 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002616/1.792, allocations: 0.5282 MB / 0.8581 GB, free: 194.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/1.793, allocations: 105.3 kB / 0.8582 GB, free: 194.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/1.793, allocations: 8.766 kB / 0.8582 GB, free: 194.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/1.793, allocations: 5.094 kB / 0.8582 GB, free: 194.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/1.793, allocations: 5.172 kB / 0.8582 GB, free: 194.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/1.793, allocations: 1.062 kB / 0.8582 GB, free: 194.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001674/1.793, allocations: 145.4 kB / 0.8584 GB, free: 194 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001911/1.795, allocations: 99 kB / 0.8585 GB, free: 194 MB / 0.5105 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.000322/1.795, allocations: 153.3 kB / 0.8586 GB, free: 193.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003687/1.796, allocations: 133.4 kB / 0.8587 GB, free: 193.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.796, allocations: 3.938 kB / 0.8587 GB, free: 193.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.642e-05/1.796, allocations: 3.406 kB / 0.8587 GB, free: 193.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/1.796, allocations: 24.91 kB / 0.8588 GB, free: 193.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.811, allocations: 4.09 MB / 0.8627 GB, free: 192.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/1.811, allocations: 0.7547 MB / 0.8635 GB, free: 191.9 MB / 0.5105 GB Notification: Performance of SimCode: time 8.31e-07/1.811, allocations: 0 / 0.8635 GB, free: 191.9 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1)