Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.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.Controls.SetPoints.Examples.HotWaterTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_HotWaterTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_HotWaterTemperatureReset",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.7761/0.7761, allocations: 127.4 MB / 134.7 MB, free: 9.781 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001213, allocations: 178.8 kB / 164.4 MB, free: 5.441 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.1 MB / 399.1 MB, free: 2.922 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009946/0.0009945, allocations: 85.58 kB / 476.3 MB, free: 2.59 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2146/0.2156, allocations: 82.87 MB / 0.5461 GB, free: 15.66 MB / 450.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5748/0.7905, allocations: 76.74 MB / 0.621 GB, free: 86.38 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.9285, allocations: 102.4 MB / 0.721 GB, free: 6.723 MB / 498.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.9288, allocations: 71.95 kB / 0.7211 GB, free: 6.652 MB / 498.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.006031/0.9348, allocations: 2.011 MB / 0.7231 GB, free: 4.68 MB / 498.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.735e-05/0.9349, allocations: 8 kB / 0.7231 GB, free: 4.672 MB / 498.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.935, allocations: 20.02 kB / 0.7231 GB, free: 4.656 MB / 498.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.9354, allocations: 199.6 kB / 0.7233 GB, free: 4.422 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.9354, allocations: 11.11 kB / 0.7233 GB, free: 4.414 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.9354, allocations: 4.594 kB / 0.7233 GB, free: 4.41 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001629/0.9356, allocations: 52 kB / 0.7233 GB, free: 4.359 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.9358, allocations: 96.66 kB / 0.7234 GB, free: 4.254 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.9358, allocations: 0.7188 kB / 0.7234 GB, free: 4.254 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.9358, allocations: 0 / 0.7234 GB, free: 4.254 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.9359, allocations: 2.359 kB / 0.7234 GB, free: 4.254 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.9365, allocations: 445.5 kB / 0.7239 GB, free: 3.781 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.9368, allocations: 103.3 kB / 0.724 GB, free: 3.664 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/0.9369, allocations: 43.34 kB / 0.724 GB, free: 3.617 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.937, allocations: 0 / 0.724 GB, free: 3.617 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.937, allocations: 43.34 kB / 0.724 GB, free: 3.566 MB / 498.8 MB Notification: Performance of pre-optimization done (n=9): time 9.01e-07/0.937, allocations: 0 / 0.724 GB, free: 3.566 MB / 498.8 MB Notification: Performance of matching and sorting (n=9): time 0.0002929/0.9373, allocations: 98.31 kB / 0.7241 GB, free: 3.465 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.9374, allocations: 77.67 kB / 0.7242 GB, free: 3.371 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.9375, allocations: 143 kB / 0.7244 GB, free: 3.219 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.9375, allocations: 25.7 kB / 0.7244 GB, free: 3.188 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.9376, allocations: 96.84 kB / 0.7245 GB, free: 3.09 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.9376, allocations: 31.55 kB / 0.7245 GB, free: 3.059 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.9376, allocations: 0.9375 kB / 0.7245 GB, free: 3.059 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.9377, allocations: 322.8 kB / 0.7248 GB, free: 2.734 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-05/0.9378, allocations: 24.75 kB / 0.7248 GB, free: 2.711 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.9379, allocations: 41.06 kB / 0.7249 GB, free: 2.668 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.9379, allocations: 28 kB / 0.7249 GB, free: 2.641 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.9379, allocations: 3.906 kB / 0.7249 GB, free: 2.637 MB / 498.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.9381, allocations: 107.8 kB / 0.725 GB, free: 2.527 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.9381, allocations: 4.75 kB / 0.725 GB, free: 2.523 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.9382, allocations: 0.6875 kB / 0.725 GB, free: 2.523 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9382, allocations: 1.375 kB / 0.725 GB, free: 2.523 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.9384, allocations: 32.55 kB / 0.725 GB, free: 2.492 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.9384, allocations: 0.5938 kB / 0.725 GB, free: 2.492 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.9385, allocations: 23.59 kB / 0.7251 GB, free: 2.473 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.9385, allocations: 0 / 0.7251 GB, free: 2.473 MB / 498.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.002e-05/0.9386, allocations: 107.5 kB / 0.7252 GB, free: 2.363 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.9387, allocations: 17.19 kB / 0.7252 GB, free: 2.348 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.939, allocations: 123.5 kB / 0.7253 GB, free: 2.227 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.939, allocations: 0 / 0.7253 GB, free: 2.227 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.939, allocations: 0 / 0.7253 GB, free: 2.227 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.939, allocations: 4 kB / 0.7253 GB, free: 2.223 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.9392, allocations: 196.5 kB / 0.7255 GB, free: 1.996 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9392, allocations: 0 / 0.7255 GB, free: 1.996 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.9394, allocations: 34.69 kB / 0.7255 GB, free: 1.965 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9394, allocations: 2.062 kB / 0.7255 GB, free: 1.965 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.9394, allocations: 0 / 0.7255 GB, free: 1.965 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.9394, allocations: 7.938 kB / 0.7255 GB, free: 1.957 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9395, allocations: 0 / 0.7255 GB, free: 1.957 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002304/0.9397, allocations: 276.4 kB / 0.7258 GB, free: 1.664 MB / 498.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002672/0.94, allocations: 0.6616 MB / 0.7264 GB, free: 0.9805 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.94, allocations: 92.92 kB / 0.7265 GB, free: 0.8711 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.9401, allocations: 0 / 0.7265 GB, free: 0.8711 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.9402, allocations: 15.98 kB / 0.7265 GB, free: 0.8555 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.9403, allocations: 7.984 kB / 0.7266 GB, free: 0.8477 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.9403, allocations: 4 kB / 0.7266 GB, free: 0.8438 MB / 498.8 MB Notification: Performance of sort global known variables: time 6.761e-05/0.9404, allocations: 116.8 kB / 0.7267 GB, free: 0.7305 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.0008221/0.9412, allocations: 24 kB / 0.7267 GB, free: 0.707 MB / 498.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001136/0.9413, allocations: 104.8 kB / 0.7268 GB, free: 0.5938 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.9415, allocations: 66.34 kB / 0.7269 GB, free: 0.5312 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9415, allocations: 7.938 kB / 0.7269 GB, free: 0.5234 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 6.733e-05/0.9416, allocations: 37.36 kB / 0.7269 GB, free: 500 kB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.9419, allocations: 23.98 kB / 0.7269 GB, free: 476 kB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.9424, allocations: 163.4 kB / 0.7271 GB, free: 284 kB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/0.943, allocations: 0.7303 MB / 0.7278 GB, free: 15.52 MB / 0.5027 GB Notification: Performance of SimCode: time 6.52e-07/0.943, allocations: 0 / 0.7278 GB, free: 15.52 MB / 0.5027 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_HotWaterTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_HotWaterTemperatureReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1)