Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",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/Buildings 10.0.0-master/package.mo): time 2.05/2.05, allocations: 390.4 MB / 397.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001325, allocations: 188.2 kB / 490.8 MB, free: 1.926 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.4 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001047, allocations: 91.05 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5728/0.5739, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.8562, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.539/5.395, allocations: 1.869 GB / 3.081 GB, free: 435 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/5.395, allocations: 85.33 kB / 3.081 GB, free: 435 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.4445/5.84, allocations: 223.5 MB / 3.299 GB, free: 237 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/5.84, allocations: 8 kB / 3.299 GB, free: 236.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005884/5.84, allocations: 87.55 kB / 3.299 GB, free: 236.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/5.841, allocations: 309.8 kB / 3.3 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/5.841, allocations: 11.94 kB / 3.3 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/5.841, allocations: 16 kB / 3.3 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003535/5.841, allocations: 188.9 kB / 3.3 GB, free: 236.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/5.842, allocations: 250.5 kB / 3.3 GB, free: 236.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/5.842, allocations: 0 / 3.3 GB, free: 236.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/5.842, allocations: 4 kB / 3.3 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/5.842, allocations: 8 kB / 3.3 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/5.843, allocations: 1.029 MB / 3.301 GB, free: 235 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/5.844, allocations: 175.6 kB / 3.301 GB, free: 234.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/5.844, allocations: 88.83 kB / 3.301 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/5.844, allocations: 392.4 kB / 3.302 GB, free: 234.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/5.844, allocations: 38.5 kB / 3.302 GB, free: 234.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.425e-06/5.844, allocations: 0 / 3.302 GB, free: 234.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001208/5.846, allocations: 349 kB / 3.302 GB, free: 233.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/5.846, allocations: 51.41 kB / 3.302 GB, free: 233.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/5.846, allocations: 184.2 kB / 3.302 GB, free: 233.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/5.846, allocations: 29.7 kB / 3.302 GB, free: 233.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/5.846, allocations: 148.2 kB / 3.303 GB, free: 233.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/5.846, allocations: 70.94 kB / 3.303 GB, free: 233.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/5.846, allocations: 0 / 3.303 GB, free: 233.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/5.846, allocations: 334.8 kB / 3.303 GB, free: 233 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/5.846, allocations: 71.83 kB / 3.303 GB, free: 232.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/5.846, allocations: 133.3 kB / 3.303 GB, free: 232.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007717/5.847, allocations: 207.6 kB / 3.303 GB, free: 232.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/5.847, allocations: 0 / 3.303 GB, free: 232.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009094/5.848, allocations: 344 kB / 3.304 GB, free: 232.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/5.848, allocations: 4.156 kB / 3.304 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/5.848, allocations: 8 kB / 3.304 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/5.848, allocations: 3.938 kB / 3.304 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/5.848, allocations: 71.95 kB / 3.304 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/5.849, allocations: 4 kB / 3.304 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/5.849, allocations: 47.81 kB / 3.304 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/5.849, allocations: 4 kB / 3.304 GB, free: 232.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.6e-05/5.849, allocations: 120.8 kB / 3.304 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/5.849, allocations: 23.72 kB / 3.304 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009661/5.85, allocations: 355.2 kB / 3.304 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/5.85, allocations: 8 kB / 3.304 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/5.85, allocations: 0 / 3.304 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/5.85, allocations: 0 / 3.304 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/5.852, allocations: 0.8682 MB / 3.305 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/5.852, allocations: 0 / 3.305 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/5.852, allocations: 68.08 kB / 3.305 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/5.852, allocations: 4 kB / 3.305 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/5.852, allocations: 4 kB / 3.305 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/5.852, allocations: 4 kB / 3.305 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/5.852, allocations: 0 / 3.305 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001043/5.853, allocations: 0.64 MB / 3.306 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001348/5.854, allocations: 1.155 MB / 3.307 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/5.855, allocations: 132.8 kB / 3.307 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/5.855, allocations: 4 kB / 3.307 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/5.855, allocations: 39.91 kB / 3.307 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/5.855, allocations: 15.88 kB / 3.307 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/5.855, allocations: 15.94 kB / 3.307 GB, free: 228.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001063/5.855, allocations: 148.5 kB / 3.307 GB, free: 228.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00146/5.857, allocations: 287.8 kB / 3.308 GB, free: 228 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001591/5.858, allocations: 1.171 MB / 3.309 GB, free: 226.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003214/5.858, allocations: 172.2 kB / 3.309 GB, free: 226.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/5.858, allocations: 0 / 3.309 GB, free: 226.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/5.859, allocations: 104.3 kB / 3.309 GB, free: 226.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/5.859, allocations: 88.31 kB / 3.309 GB, free: 226.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009175/5.86, allocations: 450.5 kB / 3.309 GB, free: 226 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/5.86, allocations: 0.8257 MB / 3.31 GB, free: 225.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/5.86, allocations: 0 / 3.31 GB, free: 225.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)