Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",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.001113/0.001113, allocations: 177 kB / 8.476 MB, free: 1.844 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.328/1.328, allocations: 205.2 MB / 214.1 MB, free: 5.164 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 89.91 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1963/0.1973, allocations: 52.96 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06985/0.2672, allocations: 47.58 MB / 362.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.52/11.79, allocations: 6.679 GB / 7.033 GB, free: 128.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/11.79, allocations: 77.81 kB / 7.033 GB, free: 128.6 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.7357/12.52, allocations: 192.3 MB / 7.221 GB, free: 65.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/12.52, allocations: 7.906 kB / 7.221 GB, free: 65.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/12.52, allocations: 22.78 kB / 7.221 GB, free: 65.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/12.52, allocations: 215.9 kB / 7.221 GB, free: 65.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/12.52, allocations: 15.12 kB / 7.221 GB, free: 65.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/12.52, allocations: 11.47 kB / 7.221 GB, free: 65.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004486/12.52, allocations: 242.6 kB / 7.221 GB, free: 65.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/12.52, allocations: 229.7 kB / 7.221 GB, free: 65.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/12.53, allocations: 4.281 kB / 7.221 GB, free: 65.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/12.53, allocations: 3.406 kB / 7.221 GB, free: 65.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/12.53, allocations: 3.406 kB / 7.221 GB, free: 65.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/12.53, allocations: 0.6873 MB / 7.222 GB, free: 65.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/12.53, allocations: 193.9 kB / 7.222 GB, free: 64.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/12.53, allocations: 114.2 kB / 7.222 GB, free: 64.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/12.54, allocations: 12.5 MB / 7.235 GB, free: 52.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/12.54, allocations: 44.16 kB / 7.235 GB, free: 52.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.967e-06/12.54, allocations: 0 / 7.235 GB, free: 52.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002313/12.54, allocations: 0.4926 MB / 7.235 GB, free: 52.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/12.54, allocations: 83.73 kB / 7.235 GB, free: 51.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/12.54, allocations: 109.4 kB / 7.235 GB, free: 51.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/12.54, allocations: 25.7 kB / 7.235 GB, free: 51.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/12.54, allocations: 109.8 kB / 7.235 GB, free: 51.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/12.54, allocations: 118.7 kB / 7.235 GB, free: 51.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/12.54, allocations: 0 / 7.235 GB, free: 51.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.638e-05/12.54, allocations: 333.8 kB / 7.236 GB, free: 51.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/12.54, allocations: 107.1 kB / 7.236 GB, free: 51.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/12.54, allocations: 175.5 kB / 7.236 GB, free: 51.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/12.54, allocations: 148 kB / 7.236 GB, free: 51.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/12.54, allocations: 3.938 kB / 7.236 GB, free: 51.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000834/12.55, allocations: 376.8 kB / 7.237 GB, free: 51.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/12.55, allocations: 7.219 kB / 7.237 GB, free: 51.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/12.55, allocations: 2.734 kB / 7.237 GB, free: 51.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/12.55, allocations: 3.781 kB / 7.237 GB, free: 51.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/12.55, allocations: 85.2 kB / 7.237 GB, free: 51.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/12.55, allocations: 13.42 kB / 7.237 GB, free: 51.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/12.55, allocations: 28.45 kB / 7.237 GB, free: 51.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/12.55, allocations: 21.48 kB / 7.237 GB, free: 51.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.000107/12.55, allocations: 108.2 kB / 7.237 GB, free: 51.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/12.55, allocations: 19.41 kB / 7.237 GB, free: 51.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006646/12.55, allocations: 221.2 kB / 7.237 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/12.55, allocations: 6.969 kB / 7.237 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/12.55, allocations: 0 / 7.237 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/12.55, allocations: 3.656 kB / 7.237 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/12.55, allocations: 0.6554 MB / 7.238 GB, free: 50.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/12.55, allocations: 3.875 kB / 7.238 GB, free: 50.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/12.55, allocations: 88.16 kB / 7.238 GB, free: 50.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/12.55, allocations: 0 / 7.238 GB, free: 50.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/12.55, allocations: 7.906 kB / 7.238 GB, free: 50.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/12.55, allocations: 7.422 kB / 7.238 GB, free: 50.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/12.55, allocations: 7.844 kB / 7.238 GB, free: 50.72 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001204/12.55, allocations: 0.7159 MB / 7.238 GB, free: 50.36 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001821/12.55, allocations: 1.305 MB / 7.24 GB, free: 49.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/12.55, allocations: 130.1 kB / 7.24 GB, free: 49.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/12.55, allocations: 6.984 kB / 7.24 GB, free: 49.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/12.55, allocations: 14.97 kB / 7.24 GB, free: 49.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/12.55, allocations: 25.81 kB / 7.24 GB, free: 49.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/12.55, allocations: 20.05 kB / 7.24 GB, free: 49.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.645e-05/12.55, allocations: 100.8 kB / 7.24 GB, free: 49.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007014/12.56, allocations: 1.242 MB / 7.241 GB, free: 49.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.009845/12.57, allocations: 1.738 MB / 7.243 GB, free: 48.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006589/12.57, allocations: 284.5 kB / 7.243 GB, free: 48.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/12.57, allocations: 3.906 kB / 7.243 GB, free: 48.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/12.57, allocations: 163 kB / 7.243 GB, free: 48.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000715/12.57, allocations: 85.16 kB / 7.243 GB, free: 48.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02887/12.6, allocations: 12.04 MB / 7.255 GB, free: 47.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/12.6, allocations: 0.803 MB / 7.256 GB, free: 46.84 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/12.6, allocations: 0 / 7.256 GB, free: 46.84 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)