Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.004419/0.004419, allocations: 181.5 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7271/0.7271, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.75/1.75, allocations: 221.3 MB / 395 MB, free: 10.21 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.001355/0.001355, allocations: 98.2 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5177/0.5191, allocations: 88.44 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.7067, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4879/1.195, allocations: 112.4 MB / 0.7431 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/1.195, allocations: 83.67 kB / 0.7432 GB, free: 11.01 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01584/1.211, allocations: 5.37 MB / 0.7484 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/1.211, allocations: 12.44 kB / 0.7485 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/1.211, allocations: 8.453 kB / 0.7485 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/1.211, allocations: 199.1 kB / 0.7487 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/1.211, allocations: 7.75 kB / 0.7487 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/1.211, allocations: 0 / 0.7487 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.533e-05/1.211, allocations: 24.28 kB / 0.7487 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.147e-05/1.211, allocations: 53.33 kB / 0.7487 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.211, allocations: 0.6562 kB / 0.7487 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/1.211, allocations: 0 / 0.7487 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.211, allocations: 3.812 kB / 0.7487 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/1.212, allocations: 286.6 kB / 0.749 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.086e-05/1.212, allocations: 41.62 kB / 0.7491 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/1.212, allocations: 16.34 kB / 0.7491 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/1.212, allocations: 3.438 kB / 0.7491 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/1.212, allocations: 31.22 kB / 0.7491 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/1.212, allocations: 0 / 0.7491 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0002284/1.212, allocations: 66.59 kB / 0.7492 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/1.212, allocations: 55.91 kB / 0.7492 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/1.212, allocations: 115.4 kB / 0.7493 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/1.212, allocations: 29.64 kB / 0.7494 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/1.213, allocations: 89.38 kB / 0.7494 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/1.213, allocations: 16.5 kB / 0.7495 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/1.213, allocations: 0 / 0.7495 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.213, allocations: 320.1 kB / 0.7498 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/1.213, allocations: 15.97 kB / 0.7498 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/1.213, allocations: 10.53 kB / 0.7498 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.893e-05/1.213, allocations: 12.72 kB / 0.7498 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.213, allocations: 0 / 0.7498 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001376/1.213, allocations: 71.05 kB / 0.7499 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.213, allocations: 3.906 kB / 0.7499 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.213, allocations: 0.5625 kB / 0.7499 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/1.213, allocations: 7.844 kB / 0.7499 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/1.213, allocations: 22.98 kB / 0.7499 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.213, allocations: 4 kB / 0.7499 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/1.213, allocations: 5.438 kB / 0.7499 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/1.213, allocations: 4.594 kB / 0.7499 GB, free: 25.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 7.726e-05/1.213, allocations: 104.9 kB / 0.75 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/1.213, allocations: 8.547 kB / 0.75 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/1.214, allocations: 83.11 kB / 0.7501 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.214, allocations: 0.6094 kB / 0.7501 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.214, allocations: 0 / 0.7501 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.214, allocations: 0.6094 kB / 0.7501 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/1.214, allocations: 155.5 kB / 0.7503 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.214, allocations: 7.984 kB / 0.7503 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.375e-05/1.214, allocations: 23.03 kB / 0.7503 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/1.214, allocations: 0 / 0.7503 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/1.214, allocations: 4.516 kB / 0.7503 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/1.214, allocations: 7.938 kB / 0.7503 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.214, allocations: 0.5156 kB / 0.7503 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001715/1.214, allocations: 164.9 kB / 0.7505 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003312/1.214, allocations: 0.5371 MB / 0.751 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/1.214, allocations: 88.8 kB / 0.7511 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/1.215, allocations: 4.75 kB / 0.7511 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/1.215, allocations: 5.75 kB / 0.7511 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/1.215, allocations: 10.16 kB / 0.7511 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/1.215, allocations: 0 / 0.7511 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.398e-05/1.215, allocations: 99.59 kB / 0.7512 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008132/1.216, allocations: 27.81 kB / 0.7512 GB, free: 23.88 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 (6): * Single equations (assignments): 6 * 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.0001825/1.216, allocations: 118.6 kB / 0.7513 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001017/1.216, allocations: 30.86 kB / 0.7513 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.216, allocations: 0 / 0.7513 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/1.216, allocations: 27.38 kB / 0.7514 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/1.216, allocations: 9.531 kB / 0.7514 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/1.216, allocations: 96.77 kB / 0.7515 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/1.217, allocations: 0.7185 MB / 0.7522 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/1.217, allocations: 0 / 0.7522 GB, free: 22.99 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)