Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.004242/0.004242, allocations: 177.3 kB / 7.455 MB, free: 2.34 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7272/0.7272, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.791/1.791, allocations: 221.3 MB / 395 MB, free: 10.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 105.9 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5872/0.5883, allocations: 88.43 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.7939, allocations: 82.31 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6238/1.418, allocations: 113 MB / 0.7436 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/1.418, allocations: 78.62 kB / 0.7437 GB, free: 10.65 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.02282/1.441, allocations: 7.884 MB / 0.7514 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.441, allocations: 9.094 kB / 0.7514 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/1.441, allocations: 35.5 kB / 0.7514 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005046/1.442, allocations: 291 kB / 0.7517 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/1.442, allocations: 5.031 kB / 0.7517 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/1.442, allocations: 8.375 kB / 0.7517 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002518/1.442, allocations: 98.48 kB / 0.7518 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/1.442, allocations: 160.4 kB / 0.752 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.442, allocations: 0 / 0.752 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/1.442, allocations: 1.281 kB / 0.752 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/1.442, allocations: 7.953 kB / 0.752 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/1.444, allocations: 0.9218 MB / 0.7529 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/1.444, allocations: 179.2 kB / 0.7531 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.897e-05/1.444, allocations: 52.41 kB / 0.7531 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/1.444, allocations: 6.625 kB / 0.7531 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/1.444, allocations: 35.28 kB / 0.7531 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/1.444, allocations: 0 / 0.7531 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0004664/1.445, allocations: 153.9 kB / 0.7533 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/1.445, allocations: 78.42 kB / 0.7534 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/1.445, allocations: 216.7 kB / 0.7536 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/1.445, allocations: 25.7 kB / 0.7536 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/1.445, allocations: 138.2 kB / 0.7537 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/1.445, allocations: 51.16 kB / 0.7538 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/1.445, allocations: 0 / 0.7538 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.445, allocations: 336.3 kB / 0.7541 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.759e-05/1.445, allocations: 39.5 kB / 0.7541 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/1.446, allocations: 88.34 kB / 0.7542 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/1.446, allocations: 54.08 kB / 0.7543 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.446, allocations: 0 / 0.7543 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004337/1.446, allocations: 181.3 kB / 0.7544 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.446, allocations: 4.875 kB / 0.7544 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/1.446, allocations: 5.812 kB / 0.7545 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.446, allocations: 6.938 kB / 0.7545 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/1.447, allocations: 79.94 kB / 0.7545 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/1.447, allocations: 7 kB / 0.7545 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/1.447, allocations: 50.36 kB / 0.7546 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/1.447, allocations: 13.42 kB / 0.7546 GB, free: 23.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.296e-05/1.447, allocations: 106.2 kB / 0.7547 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/1.447, allocations: 28.59 kB / 0.7547 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/1.448, allocations: 176.3 kB / 0.7549 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.448, allocations: 10.84 kB / 0.7549 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.448, allocations: 0.5312 kB / 0.7549 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.448, allocations: 0.5625 kB / 0.7549 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/1.448, allocations: 259.8 kB / 0.7552 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/1.448, allocations: 0.5 kB / 0.7552 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/1.449, allocations: 72.39 kB / 0.7552 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/1.449, allocations: 1.031 kB / 0.7552 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/1.449, allocations: 2.875 kB / 0.7552 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.449, allocations: 1.062 kB / 0.7552 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.449, allocations: 4.531 kB / 0.7552 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005091/1.449, allocations: 347.8 kB / 0.7556 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006635/1.45, allocations: 0.719 MB / 0.7563 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/1.45, allocations: 103.3 kB / 0.7564 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/1.45, allocations: 5 kB / 0.7564 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/1.45, allocations: 37.19 kB / 0.7564 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/1.45, allocations: 23.55 kB / 0.7564 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/1.45, allocations: 7.531 kB / 0.7564 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001796/1.451, allocations: 170.9 kB / 0.7566 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001022/1.452, allocations: 55.44 kB / 0.7567 GB, free: 22.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002372/1.452, allocations: 116.8 kB / 0.7568 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003199/1.452, allocations: 125.7 kB / 0.7569 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.452, allocations: 320 / 0.7569 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/1.452, allocations: 70.75 kB / 0.757 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/1.453, allocations: 66.09 kB / 0.757 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007396/1.454, allocations: 296 kB / 0.7573 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/1.454, allocations: 0.7956 MB / 0.7581 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/1.454, allocations: 0 / 0.7581 GB, free: 21.25 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)