Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 289.8 MB / 297.1 MB, free: 6.602 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.001563/0.001564, allocations: 173.3 kB / 366.3 MB, free: 1.934 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.497/1.497, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009632/0.0009632, allocations: 86.39 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3077/0.3087, allocations: 122.4 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7192/1.028, allocations: 116.3 MB / 0.9726 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.235/5.263, allocations: 2.064 GB / 3.037 GB, free: 12.58 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/5.263, allocations: 88.52 kB / 3.037 GB, free: 12.5 MB / 0.948 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 1.016/6.279, allocations: 221.4 MB / 3.253 GB, free: 173.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/6.279, allocations: 12 kB / 3.253 GB, free: 173.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007047/6.28, allocations: 83.53 kB / 3.253 GB, free: 173.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/6.281, allocations: 309.9 kB / 3.253 GB, free: 173.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/6.281, allocations: 12 kB / 3.253 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/6.281, allocations: 16 kB / 3.253 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003931/6.281, allocations: 192.9 kB / 3.254 GB, free: 172.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/6.281, allocations: 250.5 kB / 3.254 GB, free: 172.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/6.282, allocations: 0 / 3.254 GB, free: 172.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/6.282, allocations: 0 / 3.254 GB, free: 172.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/6.282, allocations: 4 kB / 3.254 GB, free: 172.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/6.283, allocations: 1.031 MB / 3.255 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/6.284, allocations: 178.6 kB / 3.255 GB, free: 171.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/6.284, allocations: 92.83 kB / 3.255 GB, free: 171.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/6.285, allocations: 396.4 kB / 3.256 GB, free: 170.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/6.285, allocations: 30.56 kB / 3.256 GB, free: 170.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.734e-06/6.285, allocations: 0 / 3.256 GB, free: 170.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.00134/6.286, allocations: 345.4 kB / 3.256 GB, free: 170.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/6.286, allocations: 63.34 kB / 3.256 GB, free: 170.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/6.286, allocations: 180.3 kB / 3.256 GB, free: 170.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/6.286, allocations: 25.7 kB / 3.256 GB, free: 170.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/6.286, allocations: 152.1 kB / 3.256 GB, free: 170 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/6.286, allocations: 59.11 kB / 3.256 GB, free: 170 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/6.286, allocations: 0 / 3.256 GB, free: 170 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.874e-05/6.287, allocations: 338.7 kB / 3.257 GB, free: 169.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/6.287, allocations: 67.92 kB / 3.257 GB, free: 169.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/6.287, allocations: 138.7 kB / 3.257 GB, free: 169.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007488/6.288, allocations: 203.7 kB / 3.257 GB, free: 169.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/6.288, allocations: 0 / 3.257 GB, free: 169.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009034/6.289, allocations: 347.3 kB / 3.257 GB, free: 168.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/6.289, allocations: 4 kB / 3.257 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/6.289, allocations: 0 / 3.257 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/6.289, allocations: 4 kB / 3.257 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/6.289, allocations: 76.05 kB / 3.257 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/6.289, allocations: 0 / 3.257 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/6.289, allocations: 51.8 kB / 3.258 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/6.289, allocations: 12 kB / 3.258 GB, free: 168.7 MB / 0.948 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 9.042e-05/6.289, allocations: 112.8 kB / 3.258 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/6.29, allocations: 19.72 kB / 3.258 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/6.291, allocations: 363.3 kB / 3.258 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/6.291, allocations: 0 / 3.258 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/6.291, allocations: 0 / 3.258 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/6.291, allocations: 0 / 3.258 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/6.292, allocations: 0.8708 MB / 3.259 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/6.292, allocations: 8.188 kB / 3.259 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/6.293, allocations: 63.86 kB / 3.259 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/6.293, allocations: 8 kB / 3.259 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/6.293, allocations: 7.938 kB / 3.259 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/6.293, allocations: 0 / 3.259 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/6.293, allocations: 7.984 kB / 3.259 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001098/6.294, allocations: 0.6263 MB / 3.26 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001403/6.295, allocations: 1.159 MB / 3.261 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/6.295, allocations: 124.7 kB / 3.261 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/6.295, allocations: 0 / 3.261 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/6.296, allocations: 40.02 kB / 3.261 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/6.296, allocations: 23.92 kB / 3.261 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/6.296, allocations: 12 kB / 3.261 GB, free: 165 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001171/6.296, allocations: 144.5 kB / 3.261 GB, free: 164.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001681/6.298, allocations: 303.6 kB / 3.261 GB, free: 164.6 MB / 0.948 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.001933/6.3, allocations: 1.165 MB / 3.262 GB, free: 163.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004107/6.3, allocations: 186.6 kB / 3.263 GB, free: 163.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/6.3, allocations: 0 / 3.263 GB, free: 163.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/6.3, allocations: 103.8 kB / 3.263 GB, free: 163.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/6.301, allocations: 75 kB / 3.263 GB, free: 163.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/6.302, allocations: 454.5 kB / 3.263 GB, free: 162.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/6.302, allocations: 0.8257 MB / 3.264 GB, free: 161.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.41e-07/6.302, allocations: 0 / 3.264 GB, free: 161.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)