Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.Boundary.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.Sources.Validation.Boundary,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.Boundary,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Boundary",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.001588/0.001587, allocations: 191.5 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4557/0.4557, allocations: 90.85 MB / 99.07 MB, free: 14.89 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.261/1.261, allocations: 221.4 MB / 342.8 MB, free: 5.414 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.001049/0.001049, allocations: 92.92 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1715/0.1725, allocations: 78.44 MB / 493.9 MB, free: 7.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.5298, allocations: 72.3 MB / 0.553 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.274/5.804, allocations: 2.821 GB / 3.374 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/5.804, allocations: 83.95 kB / 3.374 GB, free: 166.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 5.582/11.39, allocations: 1.762 GB / 5.136 GB, free: 53.78 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/11.39, allocations: 11.09 kB / 5.136 GB, free: 53.78 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/11.39, allocations: 466.9 kB / 5.137 GB, free: 53.67 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/11.39, allocations: 1.316 MB / 5.138 GB, free: 53.25 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/11.39, allocations: 40.38 kB / 5.138 GB, free: 53.25 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/11.39, allocations: 78.25 kB / 5.138 GB, free: 53.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00167/11.39, allocations: 1.088 MB / 5.139 GB, free: 53.24 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/11.39, allocations: 1.477 MB / 5.141 GB, free: 52.92 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/11.39, allocations: 0 / 5.141 GB, free: 52.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.928e-05/11.39, allocations: 10.33 kB / 5.141 GB, free: 52.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/11.39, allocations: 59.94 kB / 5.141 GB, free: 52.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005865/11.4, allocations: 6.521 MB / 5.147 GB, free: 49.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/11.4, allocations: 0.6227 MB / 5.148 GB, free: 48.97 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/11.4, allocations: 0.5885 MB / 5.148 GB, free: 48.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/11.4, allocations: 2.607 MB / 5.151 GB, free: 46.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/11.4, allocations: 49.72 kB / 5.151 GB, free: 46.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 3.046e-06/11.4, allocations: 0 / 5.151 GB, free: 46.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.003408/11.41, allocations: 1.13 MB / 5.152 GB, free: 45.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/11.41, allocations: 216.9 kB / 5.152 GB, free: 45.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/11.41, allocations: 0.7787 MB / 5.153 GB, free: 45.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.186e-05/11.41, allocations: 29.39 kB / 5.153 GB, free: 45.51 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/11.41, allocations: 0.5054 MB / 5.153 GB, free: 45.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/11.41, allocations: 236 kB / 5.154 GB, free: 45.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/11.41, allocations: 0 / 5.154 GB, free: 45.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.252e-05/11.41, allocations: 331.2 kB / 5.154 GB, free: 44.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/11.41, allocations: 301.9 kB / 5.154 GB, free: 44.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/11.41, allocations: 0.5667 MB / 5.155 GB, free: 44.53 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009735/11.41, allocations: 468.6 kB / 5.155 GB, free: 44.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/11.41, allocations: 0 / 5.155 GB, free: 44.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001595/11.41, allocations: 0.9378 MB / 5.156 GB, free: 44.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/11.41, allocations: 6.344 kB / 5.156 GB, free: 44.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/11.41, allocations: 2.719 kB / 5.156 GB, free: 44.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/11.41, allocations: 6.188 kB / 5.156 GB, free: 44.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/11.41, allocations: 127.6 kB / 5.156 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/11.41, allocations: 9.625 kB / 5.156 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005995/11.41, allocations: 45.44 kB / 5.156 GB, free: 44.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/11.41, allocations: 68.58 kB / 5.156 GB, free: 44.37 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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.0001307/11.41, allocations: 127.4 kB / 5.157 GB, free: 44.24 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/11.41, allocations: 133.6 kB / 5.157 GB, free: 44.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/11.42, allocations: 1.078 MB / 5.158 GB, free: 44.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/11.42, allocations: 8.812 kB / 5.158 GB, free: 44.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/11.42, allocations: 1.969 kB / 5.158 GB, free: 44.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/11.42, allocations: 9.422 kB / 5.158 GB, free: 44.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009289/11.43, allocations: 8.583 MB / 5.166 GB, free: 41.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/11.43, allocations: 14.53 kB / 5.166 GB, free: 41.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/11.43, allocations: 147.9 kB / 5.166 GB, free: 41.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.253e-05/11.43, allocations: 26.84 kB / 5.166 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/11.43, allocations: 33.7 kB / 5.166 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.632e-05/11.43, allocations: 26.84 kB / 5.166 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/11.43, allocations: 23.03 kB / 5.166 GB, free: 41.52 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002533/11.43, allocations: 2.547 MB / 5.169 GB, free: 39.57 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002687/11.43, allocations: 3.057 MB / 5.172 GB, free: 37.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/11.43, allocations: 322.8 kB / 5.172 GB, free: 37.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/11.43, allocations: 23.41 kB / 5.172 GB, free: 37.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/11.43, allocations: 26.14 kB / 5.172 GB, free: 37.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/11.43, allocations: 98.58 kB / 5.172 GB, free: 37.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.992e-05/11.43, allocations: 53.06 kB / 5.172 GB, free: 37.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000767/11.43, allocations: 0.6086 MB / 5.173 GB, free: 36.53 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003574/11.44, allocations: 1.023 MB / 5.174 GB, free: 35.53 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004757/11.44, allocations: 3.217 MB / 5.177 GB, free: 33.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001156/11.44, allocations: 0.7906 MB / 5.178 GB, free: 32.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/11.44, allocations: 0 / 5.178 GB, free: 32.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004661/11.44, allocations: 476.5 kB / 5.178 GB, free: 32.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/11.45, allocations: 0.7227 MB / 5.179 GB, free: 31.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/11.45, allocations: 2.419 MB / 5.181 GB, free: 29.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/11.45, allocations: 1.538 MB / 5.183 GB, free: 27.86 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/11.45, allocations: 0 / 5.183 GB, free: 27.86 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.Boundary.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.Boundary.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_Boundary.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.Boundary.pipe 2>&1)