Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_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.001158/0.001158, allocations: 192.5 kB / 7.804 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5281/0.5281, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.4 MB / 342.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 88.75 kB / 415.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1748/0.1759, allocations: 78.47 MB / 494 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.559, allocations: 72.3 MB / 0.553 GB, free: 44.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.6863, allocations: 102.7 MB / 0.6532 GB, free: 5.922 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.6867, allocations: 80.7 kB / 0.6533 GB, free: 5.844 MB / 474.7 MB 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.0168/0.7035, allocations: 5.397 MB / 0.6586 GB, free: 416 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.7035, allocations: 16 kB / 0.6586 GB, free: 400 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.7037, allocations: 7.906 kB / 0.6586 GB, free: 392 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.704, allocations: 200.8 kB / 0.6588 GB, free: 152 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.704, allocations: 0 / 0.6588 GB, free: 152 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.7041, allocations: 4 kB / 0.6588 GB, free: 148 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001082/0.7042, allocations: 20 kB / 0.6588 GB, free: 128 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.7043, allocations: 49.67 kB / 0.6589 GB, free: 72 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.7043, allocations: 0 / 0.6589 GB, free: 72 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.7043, allocations: 4 kB / 0.6589 GB, free: 68 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.7043, allocations: 4 kB / 0.6589 GB, free: 64 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.7048, allocations: 281.3 kB / 0.6592 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.957e-05/0.7049, allocations: 47.27 kB / 0.6592 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.705, allocations: 20.98 kB / 0.6592 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.705, allocations: 3.938 kB / 0.6592 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.7051, allocations: 30.56 kB / 0.6593 GB, free: 15.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.7051, allocations: 0 / 0.6593 GB, free: 15.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002644/0.7053, allocations: 61.59 kB / 0.6593 GB, free: 15.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.7054, allocations: 55.41 kB / 0.6594 GB, free: 15.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.7055, allocations: 121.1 kB / 0.6595 GB, free: 15.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.7055, allocations: 30.83 kB / 0.6595 GB, free: 15.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.7056, allocations: 84.12 kB / 0.6596 GB, free: 15.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.7056, allocations: 19.75 kB / 0.6596 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.7056, allocations: 0 / 0.6596 GB, free: 15.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7058, allocations: 318.8 kB / 0.6599 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.7058, allocations: 15.94 kB / 0.6599 GB, free: 14.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.7059, allocations: 12 kB / 0.6599 GB, free: 14.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.514e-05/0.7059, allocations: 19.98 kB / 0.66 GB, free: 14.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7059, allocations: 0 / 0.66 GB, free: 14.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001588/0.7061, allocations: 73.5 kB / 0.66 GB, free: 14.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.7061, allocations: 6.812 kB / 0.66 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7061, allocations: 0 / 0.66 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.7061, allocations: 0.9375 kB / 0.66 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.7063, allocations: 19.98 kB / 0.6601 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7063, allocations: 0 / 0.6601 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.303e-05/0.7064, allocations: 8 kB / 0.6601 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.7064, allocations: 4 kB / 0.6601 GB, free: 14.75 MB / 490.7 MB 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.647e-05/0.7065, allocations: 108.9 kB / 0.6602 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.7065, allocations: 11.81 kB / 0.6602 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.7067, allocations: 73.86 kB / 0.6603 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.7067, allocations: 4 kB / 0.6603 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7068, allocations: 0 / 0.6603 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.7068, allocations: 5.438 kB / 0.6603 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.707, allocations: 154.2 kB / 0.6604 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.707, allocations: 4 kB / 0.6604 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.945e-05/0.7071, allocations: 19.89 kB / 0.6604 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7071, allocations: 0 / 0.6604 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.7071, allocations: 0 / 0.6604 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7071, allocations: 4 kB / 0.6604 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7071, allocations: 0 / 0.6604 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002071/0.7073, allocations: 175.3 kB / 0.6606 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003098/0.7076, allocations: 0.5349 MB / 0.6611 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.368e-05/0.7077, allocations: 88.95 kB / 0.6612 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.7078, allocations: 0 / 0.6612 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.7079, allocations: 14.7 kB / 0.6612 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.7079, allocations: 11.98 kB / 0.6612 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.7079, allocations: 0 / 0.6612 GB, free: 13.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.639e-05/0.708, allocations: 95.27 kB / 0.6613 GB, free: 13.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008594/0.7089, allocations: 20 kB / 0.6613 GB, free: 13.34 MB / 490.7 MB 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.0002297/0.7091, allocations: 123 kB / 0.6615 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.7092, allocations: 32 kB / 0.6615 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7093, allocations: 4 kB / 0.6615 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/0.7093, allocations: 27.98 kB / 0.6615 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.7096, allocations: 4 kB / 0.6615 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.71, allocations: 103.6 kB / 0.6616 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.7104, allocations: 0.7075 MB / 0.6623 GB, free: 12.28 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.7104, allocations: 0 / 0.6623 GB, free: 12.28 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)