Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.539/2.539, allocations: 284.8 MB / 292.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001611, allocations: 177.2 kB / 360.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002099/0.002099, allocations: 94.86 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.303/0.3052, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.691/0.9962, allocations: 115.2 MB / 0.9627 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.375/6.371, allocations: 2.063 GB / 3.026 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/6.372, allocations: 86.62 kB / 3.026 GB, free: 273.7 MB / 0.9323 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.7923/7.164, allocations: 221.4 MB / 3.242 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/7.164, allocations: 8.5 kB / 3.242 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/7.165, allocations: 79.55 kB / 3.242 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/7.166, allocations: 317.8 kB / 3.242 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/7.166, allocations: 8 kB / 3.242 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/7.166, allocations: 16 kB / 3.242 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006271/7.166, allocations: 185 kB / 3.243 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/7.167, allocations: 258.4 kB / 3.243 GB, free: 113.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/7.167, allocations: 0 / 3.243 GB, free: 113.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/7.167, allocations: 3.984 kB / 3.243 GB, free: 113.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/7.167, allocations: 12 kB / 3.243 GB, free: 113.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/7.169, allocations: 1.011 MB / 3.244 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/7.17, allocations: 176.4 kB / 3.244 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/7.17, allocations: 93.17 kB / 3.244 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008949/7.171, allocations: 396.3 kB / 3.245 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/7.171, allocations: 46.5 kB / 3.245 GB, free: 112 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 3.206e-06/7.171, allocations: 0 / 3.245 GB, free: 112 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.001983/7.173, allocations: 343.9 kB / 3.245 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/7.173, allocations: 55.39 kB / 3.245 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/7.174, allocations: 180.3 kB / 3.245 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/7.174, allocations: 25.7 kB / 3.245 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/7.174, allocations: 156.1 kB / 3.245 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/7.174, allocations: 63.09 kB / 3.245 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/7.174, allocations: 0 / 3.245 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.87e-05/7.174, allocations: 338.7 kB / 3.246 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/7.174, allocations: 71.92 kB / 3.246 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/7.174, allocations: 130.1 kB / 3.246 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/7.176, allocations: 203.7 kB / 3.246 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/7.176, allocations: 0 / 3.246 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001633/7.177, allocations: 347.8 kB / 3.246 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/7.177, allocations: 4 kB / 3.246 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/7.177, allocations: 4 kB / 3.246 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/7.177, allocations: 4.156 kB / 3.246 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/7.178, allocations: 67.89 kB / 3.246 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/7.178, allocations: 4 kB / 3.246 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/7.179, allocations: 47.81 kB / 3.246 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/7.179, allocations: 19.92 kB / 3.247 GB, free: 109.9 MB / 0.9323 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 0.0001331/7.179, allocations: 120.5 kB / 3.247 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/7.179, allocations: 23.72 kB / 3.247 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/7.181, allocations: 347.2 kB / 3.247 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/7.181, allocations: 4 kB / 3.247 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/7.181, allocations: 8.062 kB / 3.247 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/7.181, allocations: 3.984 kB / 3.247 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/7.184, allocations: 0.8666 MB / 3.248 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/7.184, allocations: 0 / 3.248 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/7.185, allocations: 64.05 kB / 3.248 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/7.185, allocations: 4 kB / 3.248 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/7.185, allocations: 4 kB / 3.248 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/7.185, allocations: 4 kB / 3.248 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/7.185, allocations: 7.875 kB / 3.248 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002007/7.187, allocations: 0.635 MB / 3.249 GB, free: 107.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00244/7.189, allocations: 1.158 MB / 3.25 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/7.189, allocations: 120.8 kB / 3.25 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/7.189, allocations: 8.062 kB / 3.25 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/7.19, allocations: 35.97 kB / 3.25 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/7.19, allocations: 15.97 kB / 3.25 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/7.19, allocations: 8 kB / 3.25 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.000167/7.19, allocations: 144.5 kB / 3.25 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001935/7.192, allocations: 303.6 kB / 3.25 GB, free: 105.8 MB / 0.9323 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.001884/7.194, allocations: 1.176 MB / 3.251 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000565/7.195, allocations: 179.8 kB / 3.252 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/7.195, allocations: 0 / 3.252 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/7.195, allocations: 99.92 kB / 3.252 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009132/7.196, allocations: 92.83 kB / 3.252 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/7.197, allocations: 446.6 kB / 3.252 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/7.198, allocations: 0.8262 MB / 3.253 GB, free: 103 MB / 0.9323 GB Notification: Performance of SimCode: time 1.283e-06/7.198, allocations: 0 / 3.253 GB, free: 103 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)