Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [: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.001965/0.001965, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.597/0.597, 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.129/1.129, allocations: 221.3 MB / 395 MB, free: 10.2 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.0007956/0.0007956, allocations: 105.4 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.773e-06/6.793e-06, allocations: 2.719 kB / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 82.31 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3373/0.4463, allocations: 112.4 MB / 0.743 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001676/0.4465, allocations: 83.64 kB / 0.7431 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01347/0.46, allocations: 4.979 MB / 0.748 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.46, allocations: 3.812 kB / 0.748 GB, free: 10.48 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.0004143/0.4605, allocations: 399.3 kB / 0.7484 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4605, allocations: 11.59 kB / 0.7484 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.4606, allocations: 9.328 kB / 0.7484 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.4608, allocations: 191.6 kB / 0.7486 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.4609, allocations: 7.75 kB / 0.7486 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.4609, allocations: 4 kB / 0.7486 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.36e-05/0.461, allocations: 24.64 kB / 0.7486 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.761e-05/0.4611, allocations: 45.75 kB / 0.7486 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.4611, allocations: 0 / 0.7486 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.4611, allocations: 0 / 0.7486 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4611, allocations: 3.875 kB / 0.7486 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.4615, allocations: 282.1 kB / 0.7489 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.197e-05/0.4616, allocations: 45.94 kB / 0.749 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.4616, allocations: 16.28 kB / 0.749 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.4616, allocations: 0 / 0.749 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.4617, allocations: 31.22 kB / 0.749 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.4617, allocations: 4 kB / 0.749 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0002033/0.4619, allocations: 66.14 kB / 0.7491 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.4619, allocations: 52.11 kB / 0.7491 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.462, allocations: 121 kB / 0.7492 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.462, allocations: 25.7 kB / 0.7493 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.462, allocations: 89.09 kB / 0.7493 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.4621, allocations: 13.11 kB / 0.7494 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.4621, allocations: 0 / 0.7494 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.4622, allocations: 331.7 kB / 0.7497 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.4622, allocations: 11.55 kB / 0.7497 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.4622, allocations: 19.11 kB / 0.7497 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.4623, allocations: 12.61 kB / 0.7497 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4623, allocations: 0 / 0.7497 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001248/0.4624, allocations: 71.02 kB / 0.7498 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.4624, allocations: 4.453 kB / 0.7498 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.4624, allocations: 3.938 kB / 0.7498 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.4625, allocations: 7.75 kB / 0.7498 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.4626, allocations: 19.34 kB / 0.7498 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4626, allocations: 0.75 kB / 0.7498 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.4627, allocations: 8.969 kB / 0.7498 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.4627, allocations: 0.6094 kB / 0.7498 GB, free: 24.83 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 5.528e-05/0.4627, allocations: 105.6 kB / 0.7499 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.4628, allocations: 10.78 kB / 0.7499 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.4629, allocations: 83.5 kB / 0.75 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4629, allocations: 0.6094 kB / 0.75 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.463, allocations: 0 / 0.75 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.463, allocations: 0.6094 kB / 0.75 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.4631, allocations: 159.7 kB / 0.7502 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4631, allocations: 0 / 0.7502 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.865e-05/0.4632, allocations: 14.67 kB / 0.7502 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4632, allocations: 0 / 0.7502 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.4632, allocations: 12.69 kB / 0.7502 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4632, allocations: 3.844 kB / 0.7502 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4632, allocations: 0.5156 kB / 0.7502 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001444/0.4634, allocations: 163.8 kB / 0.7504 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.4634, allocations: 90.12 kB / 0.7504 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.4635, allocations: 4 kB / 0.7505 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4636, allocations: 9.953 kB / 0.7505 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.4636, allocations: 6.141 kB / 0.7505 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.4636, allocations: 0 / 0.7505 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.508e-05/0.4637, allocations: 103.5 kB / 0.7506 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002353/0.4639, allocations: 23.83 kB / 0.7506 GB, free: 24.17 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.0001399/0.4641, allocations: 119.7 kB / 0.7507 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.43e-05/0.4642, allocations: 37.8 kB / 0.7507 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.4642, allocations: 4 kB / 0.7507 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.4642, allocations: 20.14 kB / 0.7508 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.4644, allocations: 13.11 kB / 0.7508 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.4647, allocations: 96.52 kB / 0.7509 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.4649, allocations: 0.7181 MB / 0.7516 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.4649, allocations: 0 / 0.7516 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.003039/0.468, allocations: 1.026 MB / 0.7526 GB, free: 23.2 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)