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: translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") [: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.7788/0.7788, allocations: 141.8 MB / 149.1 MB, free: 4.512 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 176.6 kB / 181.9 MB, free: 176 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.3 MB / 436 MB, free: 9.301 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.0009571/0.0009568, allocations: 96 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001908, allocations: 283.4 kB / 0.5885 GB, free: 12.34 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.218e-06, allocations: 4 kB / 0.6759 GB, free: 2.715 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4697, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.009/4.479, allocations: 1.829 GB / 2.586 GB, free: 146.2 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/4.479, allocations: 91.55 kB / 2.586 GB, free: 146.1 MB / 0.6825 GB Notification: Performance of FrontEnd: time 0.8442/5.323, allocations: 222.9 MB / 2.803 GB, free: 186.4 MB / 0.6825 GB Notification: Performance of Transformations before backend: time 2.752e-05/5.323, allocations: 7.281 kB / 2.803 GB, free: 186.4 MB / 0.6825 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.001275/5.325, allocations: 0.6814 MB / 2.804 GB, free: 185.7 MB / 0.6825 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/5.325, allocations: 9.031 kB / 2.804 GB, free: 185.7 MB / 0.6825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/5.325, allocations: 87.45 kB / 2.804 GB, free: 185.6 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/5.326, allocations: 308.2 kB / 2.804 GB, free: 185.3 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/5.326, allocations: 8 kB / 2.804 GB, free: 185.3 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/5.326, allocations: 16 kB / 2.804 GB, free: 185.2 MB / 0.6825 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003273/5.326, allocations: 192.9 kB / 2.805 GB, free: 185.1 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/5.326, allocations: 250.5 kB / 2.805 GB, free: 184.8 MB / 0.6825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/5.326, allocations: 4 kB / 2.805 GB, free: 184.8 MB / 0.6825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/5.326, allocations: 0 / 2.805 GB, free: 184.8 MB / 0.6825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/5.326, allocations: 8 kB / 2.805 GB, free: 184.8 MB / 0.6825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/5.328, allocations: 1.007 MB / 2.806 GB, free: 183.7 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/5.328, allocations: 182.4 kB / 2.806 GB, free: 183.6 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/5.328, allocations: 88.83 kB / 2.806 GB, free: 183.5 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005869/5.329, allocations: 396.3 kB / 2.806 GB, free: 183 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/5.329, allocations: 34.56 kB / 2.806 GB, free: 183 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/5.329, allocations: 7.172 kB / 2.806 GB, free: 183 MB / 0.6825 GB Notification: Performance of matching and sorting (n=19): time 0.001167/5.33, allocations: 348.3 kB / 2.807 GB, free: 182.6 MB / 0.6825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/5.33, allocations: 51.41 kB / 2.807 GB, free: 182.6 MB / 0.6825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/5.33, allocations: 184.2 kB / 2.807 GB, free: 182.4 MB / 0.6825 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/5.33, allocations: 25.7 kB / 2.807 GB, free: 182.3 MB / 0.6825 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/5.331, allocations: 152.2 kB / 2.807 GB, free: 182.2 MB / 0.6825 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/5.331, allocations: 70.95 kB / 2.807 GB, free: 182.1 MB / 0.6825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/5.331, allocations: 0 / 2.807 GB, free: 182.1 MB / 0.6825 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/5.331, allocations: 330.8 kB / 2.808 GB, free: 181.8 MB / 0.6825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/5.331, allocations: 71.97 kB / 2.808 GB, free: 181.7 MB / 0.6825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/5.331, allocations: 127.7 kB / 2.808 GB, free: 181.6 MB / 0.6825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006683/5.332, allocations: 205.4 kB / 2.808 GB, free: 181.4 MB / 0.6825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/5.332, allocations: 0 / 2.808 GB, free: 181.4 MB / 0.6825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008368/5.332, allocations: 344.1 kB / 2.808 GB, free: 181 MB / 0.6825 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/5.332, allocations: 8 kB / 2.808 GB, free: 181 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/5.332, allocations: 7.984 kB / 2.808 GB, free: 181 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/5.332, allocations: 0 / 2.808 GB, free: 181 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/5.333, allocations: 71.91 kB / 2.808 GB, free: 180.9 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/5.333, allocations: 4 kB / 2.808 GB, free: 180.9 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/5.333, allocations: 51.8 kB / 2.808 GB, free: 180.9 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/5.333, allocations: 11.97 kB / 2.808 GB, free: 180.9 MB / 0.6825 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.814e-05/5.333, allocations: 113.8 kB / 2.809 GB, free: 180.8 MB / 0.6825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/5.333, allocations: 23.72 kB / 2.809 GB, free: 180.7 MB / 0.6825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009182/5.334, allocations: 363.2 kB / 2.809 GB, free: 180.4 MB / 0.6825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/5.334, allocations: 4 kB / 2.809 GB, free: 180.4 MB / 0.6825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/5.334, allocations: 0 / 2.809 GB, free: 180.4 MB / 0.6825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/5.334, allocations: 0 / 2.809 GB, free: 180.4 MB / 0.6825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/5.336, allocations: 0.8712 MB / 2.81 GB, free: 179.4 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/5.336, allocations: 0 / 2.81 GB, free: 179.4 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/5.336, allocations: 64.09 kB / 2.81 GB, free: 179.4 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/5.336, allocations: 4 kB / 2.81 GB, free: 179.4 MB / 0.6825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/5.336, allocations: 4 kB / 2.81 GB, free: 179.3 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/5.336, allocations: 7.984 kB / 2.81 GB, free: 179.3 MB / 0.6825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/5.336, allocations: 0 / 2.81 GB, free: 179.3 MB / 0.6825 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001043/5.337, allocations: 0.6272 MB / 2.81 GB, free: 178.6 MB / 0.6825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-05/5.337, allocations: 116.8 kB / 2.811 GB, free: 178.5 MB / 0.6825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/5.337, allocations: 7.906 kB / 2.811 GB, free: 178.5 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/5.338, allocations: 43.95 kB / 2.811 GB, free: 178.5 MB / 0.6825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/5.338, allocations: 15.98 kB / 2.811 GB, free: 178.4 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/5.338, allocations: 11.94 kB / 2.811 GB, free: 178.4 MB / 0.6825 GB Notification: Performance of sort global known variables: time 0.0001026/5.338, allocations: 152.5 kB / 2.811 GB, free: 178.3 MB / 0.6825 GB Notification: Performance of remove unused functions: time 0.0007385/5.339, allocations: 179.7 kB / 2.811 GB, free: 178.1 MB / 0.6825 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.001639/5.34, allocations: 1.169 MB / 2.812 GB, free: 177.1 MB / 0.6825 GB Notification: Performance of simCode: created initialization part: time 0.0003347/5.341, allocations: 182.6 kB / 2.812 GB, free: 176.9 MB / 0.6825 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/5.341, allocations: 3.938 kB / 2.812 GB, free: 176.9 MB / 0.6825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/5.341, allocations: 99.91 kB / 2.812 GB, free: 176.8 MB / 0.6825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/5.341, allocations: 84.89 kB / 2.812 GB, free: 176.7 MB / 0.6825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009464/5.342, allocations: 443.4 kB / 2.813 GB, free: 176.2 MB / 0.6825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/5.343, allocations: 0.8179 MB / 2.814 GB, free: 175.4 MB / 0.6825 GB Notification: Performance of SimCode: time 3e-07/5.343, allocations: 0 / 2.814 GB, free: 175.4 MB / 0.6825 GB Notification: Performance of Templates: time 0.01611/5.359, allocations: 10.54 MB / 2.824 GB, free: 164.9 MB / 0.6825 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)