Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h",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/BuildSysPro 3.5.0/package.mo): time 0.7231/0.7231, allocations: 127.4 MB / 134.6 MB, free: 4.082 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 177.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 85.52 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3346/0.3357, allocations: 82.88 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.521, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.31/5.831, allocations: 2.139 GB / 2.76 GB, free: 73.61 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/5.831, allocations: 87.89 kB / 2.76 GB, free: 73.52 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 1.674/7.505, allocations: 411.7 MB / 3.163 GB, free: 128.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/7.505, allocations: 10.66 kB / 3.163 GB, free: 128.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003394/7.506, allocations: 63.41 kB / 3.163 GB, free: 128.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/7.507, allocations: 428.2 kB / 3.163 GB, free: 128.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/7.507, allocations: 22.11 kB / 3.163 GB, free: 128.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/7.507, allocations: 33.5 kB / 3.163 GB, free: 128.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006759/7.507, allocations: 299.1 kB / 3.163 GB, free: 128.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/7.508, allocations: 0.54 MB / 3.164 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/7.508, allocations: 6.719 kB / 3.164 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/7.508, allocations: 3.875 kB / 3.164 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.265e-05/7.508, allocations: 33.45 kB / 3.164 GB, free: 128 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/7.511, allocations: 2.341 MB / 3.166 GB, free: 126.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/7.511, allocations: 128.7 kB / 3.166 GB, free: 126.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/7.511, allocations: 84.33 kB / 3.166 GB, free: 126.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/7.511, allocations: 0 / 3.166 GB, free: 126.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/7.511, allocations: 39.66 kB / 3.166 GB, free: 126.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/7.511, allocations: 0 / 3.166 GB, free: 126.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004085/7.512, allocations: 120 kB / 3.167 GB, free: 126.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/7.512, allocations: 160.6 kB / 3.167 GB, free: 126 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/7.512, allocations: 214.6 kB / 3.167 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/7.512, allocations: 26.8 kB / 3.167 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/7.512, allocations: 265.2 kB / 3.167 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/7.512, allocations: 30.89 kB / 3.167 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/7.512, allocations: 0 / 3.167 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001154/7.513, allocations: 337.2 kB / 3.168 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.294e-05/7.513, allocations: 27.27 kB / 3.168 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/7.513, allocations: 84.14 kB / 3.168 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.351e-05/7.513, allocations: 42.47 kB / 3.168 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/7.513, allocations: 0 / 3.168 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002392/7.513, allocations: 120.2 kB / 3.168 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/7.513, allocations: 4.656 kB / 3.168 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/7.513, allocations: 9.781 kB / 3.168 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/7.513, allocations: 1.188 kB / 3.168 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/7.513, allocations: 28.03 kB / 3.168 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/7.513, allocations: 3.719 kB / 3.168 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/7.514, allocations: 24.86 kB / 3.168 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/7.514, allocations: 10.89 kB / 3.168 GB, free: 125.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.672e-05/7.514, allocations: 109.1 kB / 3.168 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/7.514, allocations: 22.56 kB / 3.168 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.945e-05/7.514, allocations: 30.59 kB / 3.168 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/7.514, allocations: 9.625 kB / 3.168 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/7.514, allocations: 1.188 kB / 3.168 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/7.514, allocations: 2.406 kB / 3.168 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/7.515, allocations: 0.8287 MB / 3.169 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/7.515, allocations: 2.562 kB / 3.169 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/7.515, allocations: 27.75 kB / 3.169 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/7.515, allocations: 6.281 kB / 3.169 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/7.515, allocations: 3.781 kB / 3.169 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/7.515, allocations: 1.719 kB / 3.169 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/7.515, allocations: 1.828 kB / 3.169 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003075/7.516, allocations: 364.9 kB / 3.169 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007042/7.516, allocations: 0.7923 MB / 3.17 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/7.516, allocations: 99.94 kB / 3.17 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/7.517, allocations: 3.156 kB / 3.17 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/7.517, allocations: 28.28 kB / 3.17 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/7.517, allocations: 9.375 kB / 3.17 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/7.517, allocations: 5.312 kB / 3.17 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001799/7.517, allocations: 175.6 kB / 3.17 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001996/7.519, allocations: 398.2 kB / 3.171 GB, free: 123.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.003536/7.523, allocations: 1.668 MB / 3.172 GB, free: 122.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002697/7.523, allocations: 64.89 kB / 3.172 GB, free: 122.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/7.523, allocations: 4.875 kB / 3.172 GB, free: 122.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/7.523, allocations: 41.67 kB / 3.172 GB, free: 122.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/7.524, allocations: 87.23 kB / 3.173 GB, free: 122.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/7.526, allocations: 0.5771 MB / 3.173 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/7.527, allocations: 0.9329 MB / 3.174 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of SimCode: time 5.21e-07/7.527, allocations: 3.938 kB / 3.174 GB, free: 121.9 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)