Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7327/0.7327, allocations: 141.8 MB / 149.1 MB, free: 12.25 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 175.1 kB / 182 MB, free: 8.988 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.4 MB / 436.1 MB, free: 1.309 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009812/0.0009812, allocations: 96.05 kB / 0.5071 GB, free: 10.18 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 283.4 kB / 0.5885 GB, free: 7.012 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1793/0.1811, allocations: 89.65 MB / 0.676 GB, free: 13.27 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.5566, allocations: 82.76 MB / 0.7569 GB, free: 138.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.23/3.786, allocations: 1.829 GB / 2.586 GB, free: 203.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/3.786, allocations: 91.97 kB / 2.586 GB, free: 203.3 MB / 0.6982 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.6805/4.467, allocations: 223.6 MB / 2.804 GB, free: 197.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/4.467, allocations: 13.28 kB / 2.804 GB, free: 197.7 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005947/4.468, allocations: 93.16 kB / 2.804 GB, free: 197.6 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/4.468, allocations: 301.7 kB / 2.804 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/4.468, allocations: 9.562 kB / 2.805 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/4.468, allocations: 16.53 kB / 2.805 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003343/4.469, allocations: 187.2 kB / 2.805 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/4.469, allocations: 258.7 kB / 2.805 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/4.469, allocations: 1.688 kB / 2.805 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/4.469, allocations: 0 / 2.805 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/4.469, allocations: 3.688 kB / 2.805 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/4.471, allocations: 1.018 MB / 2.806 GB, free: 196.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/4.471, allocations: 180.5 kB / 2.806 GB, free: 196.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/4.471, allocations: 88.95 kB / 2.806 GB, free: 196.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/4.472, allocations: 390.4 kB / 2.807 GB, free: 196.5 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/4.472, allocations: 41.5 kB / 2.807 GB, free: 196.5 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/4.472, allocations: 0 / 2.807 GB, free: 196.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=19): time 0.001163/4.473, allocations: 349 kB / 2.807 GB, free: 196.4 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/4.473, allocations: 53.19 kB / 2.807 GB, free: 196.4 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/4.473, allocations: 182 kB / 2.807 GB, free: 196.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/4.473, allocations: 29.14 kB / 2.807 GB, free: 196.2 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/4.473, allocations: 156.6 kB / 2.807 GB, free: 196.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/4.473, allocations: 66.28 kB / 2.807 GB, free: 196.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/4.473, allocations: 0 / 2.807 GB, free: 196.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.819e-05/4.473, allocations: 332.5 kB / 2.808 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/4.473, allocations: 65.86 kB / 2.808 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/4.474, allocations: 138.3 kB / 2.808 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/4.474, allocations: 200.8 kB / 2.808 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/4.474, allocations: 0 / 2.808 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008874/4.475, allocations: 350.1 kB / 2.808 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/4.475, allocations: 3.094 kB / 2.808 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/4.475, allocations: 1.375 kB / 2.808 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/4.475, allocations: 9.219 kB / 2.808 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/4.476, allocations: 63.94 kB / 2.809 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/4.476, allocations: 2.906 kB / 2.809 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/4.476, allocations: 62.59 kB / 2.809 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/4.476, allocations: 7.156 kB / 2.809 GB, free: 195.7 MB / 0.6982 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 7.155e-05/4.476, allocations: 110 kB / 2.809 GB, free: 195.6 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/4.476, allocations: 26.03 kB / 2.809 GB, free: 195.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009367/4.477, allocations: 352.3 kB / 2.809 GB, free: 195.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/4.477, allocations: 3.406 kB / 2.809 GB, free: 195.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/4.477, allocations: 0 / 2.809 GB, free: 195.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/4.477, allocations: 3.703 kB / 2.809 GB, free: 195.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/4.479, allocations: 0.866 MB / 2.81 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/4.479, allocations: 3.906 kB / 2.81 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/4.479, allocations: 55 kB / 2.81 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/4.479, allocations: 3.531 kB / 2.81 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/4.479, allocations: 9.734 kB / 2.81 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/4.479, allocations: 7.469 kB / 2.81 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/4.479, allocations: 0 / 2.81 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001054/4.48, allocations: 0.6319 MB / 2.811 GB, free: 194.8 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001358/4.481, allocations: 1.172 MB / 2.812 GB, free: 194.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/4.482, allocations: 120.1 kB / 2.812 GB, free: 194 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/4.482, allocations: 3.938 kB / 2.812 GB, free: 194 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/4.482, allocations: 40.33 kB / 2.812 GB, free: 194 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/4.482, allocations: 22.42 kB / 2.812 GB, free: 194 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/4.482, allocations: 10.62 kB / 2.812 GB, free: 194 MB / 0.6982 GB Notification: Performance of sort global known variables: time 8.672e-05/4.482, allocations: 151.3 kB / 2.812 GB, free: 193.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001336/4.483, allocations: 297.7 kB / 2.812 GB, free: 193.9 MB / 0.6982 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.001304/4.485, allocations: 1.166 MB / 2.814 GB, free: 193.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.000294/4.485, allocations: 176.4 kB / 2.814 GB, free: 193.7 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/4.485, allocations: 0 / 2.814 GB, free: 193.7 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/4.485, allocations: 110.2 kB / 2.814 GB, free: 193.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/4.486, allocations: 79.56 kB / 2.814 GB, free: 193.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008406/4.487, allocations: 455.5 kB / 2.814 GB, free: 193.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/4.487, allocations: 0.822 MB / 2.815 GB, free: 192.8 MB / 0.6982 GB Notification: Performance of SimCode: time 2.91e-07/4.487, allocations: 0 / 2.815 GB, free: 192.8 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)