Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity") translateModel(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 172.4 kB / 7.457 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5959/0.5959, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.135/1.135, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008513/0.0008515, allocations: 98.73 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.695e-06/7.905e-06, allocations: 3.781 kB / 0.5528 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.78/2.893, allocations: 1.831 GB / 2.465 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/2.893, allocations: 86.39 kB / 2.465 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.5948/3.488, allocations: 222.8 MB / 2.682 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.278e-05/3.488, allocations: 8 kB / 2.682 GB, free: 150.3 MB / 0.6823 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.001114/3.489, allocations: 0.6731 MB / 2.683 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/3.489, allocations: 8.031 kB / 2.683 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/3.49, allocations: 87.45 kB / 2.683 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/3.49, allocations: 317.4 kB / 2.683 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/3.49, allocations: 4 kB / 2.683 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/3.491, allocations: 20 kB / 2.683 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003099/3.491, allocations: 185 kB / 2.684 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/3.491, allocations: 258.3 kB / 2.684 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/3.491, allocations: 0 / 2.684 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/3.491, allocations: 4 kB / 2.684 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/3.491, allocations: 8 kB / 2.684 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/3.493, allocations: 1.023 MB / 2.685 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/3.493, allocations: 170.6 kB / 2.685 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/3.493, allocations: 96.83 kB / 2.685 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004992/3.494, allocations: 392.4 kB / 2.685 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/3.494, allocations: 35.59 kB / 2.686 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/3.494, allocations: 0 / 2.686 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001128/3.495, allocations: 347.2 kB / 2.686 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/3.495, allocations: 55.31 kB / 2.686 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/3.495, allocations: 184.3 kB / 2.686 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/3.495, allocations: 25.7 kB / 2.686 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/3.495, allocations: 148.2 kB / 2.686 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/3.495, allocations: 67 kB / 2.686 GB, free: 146 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/3.495, allocations: 0 / 2.686 GB, free: 146 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.143e-05/3.495, allocations: 330.8 kB / 2.687 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/3.495, allocations: 75.91 kB / 2.687 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/3.495, allocations: 135.7 kB / 2.687 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/3.496, allocations: 206.8 kB / 2.687 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/3.496, allocations: 7.875 kB / 2.687 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008116/3.497, allocations: 341 kB / 2.687 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/3.497, allocations: 8 kB / 2.687 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/3.497, allocations: 0 / 2.687 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/3.497, allocations: 8.156 kB / 2.687 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/3.497, allocations: 67.89 kB / 2.687 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/3.497, allocations: 11.89 kB / 2.687 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/3.497, allocations: 51.81 kB / 2.687 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/3.497, allocations: 11.98 kB / 2.688 GB, free: 144.8 MB / 0.6823 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 6.443e-05/3.498, allocations: 104.9 kB / 2.688 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/3.498, allocations: 23.72 kB / 2.688 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008756/3.498, allocations: 351.3 kB / 2.688 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/3.498, allocations: 4 kB / 2.688 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/3.499, allocations: 7.906 kB / 2.688 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/3.499, allocations: 3.984 kB / 2.688 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/3.5, allocations: 0.8627 MB / 2.689 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/3.5, allocations: 0 / 2.689 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/3.5, allocations: 64.14 kB / 2.689 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/3.5, allocations: 0 / 2.689 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/3.5, allocations: 8 kB / 2.689 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/3.5, allocations: 4 kB / 2.689 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/3.5, allocations: 3.938 kB / 2.689 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009558/3.501, allocations: 0.6402 MB / 2.69 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.974e-05/3.501, allocations: 124.7 kB / 2.69 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/3.501, allocations: 0 / 2.69 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/3.502, allocations: 40.02 kB / 2.69 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/3.502, allocations: 23.91 kB / 2.69 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/3.502, allocations: 8 kB / 2.69 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.14e-05/3.502, allocations: 148.5 kB / 2.69 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005525/3.502, allocations: 179.7 kB / 2.69 GB, free: 142 MB / 0.6823 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.001262/3.504, allocations: 1.174 MB / 2.691 GB, free: 141 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002728/3.504, allocations: 175.9 kB / 2.691 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/3.504, allocations: 0 / 2.691 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/3.504, allocations: 108.2 kB / 2.691 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/3.505, allocations: 88.66 kB / 2.692 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007586/3.505, allocations: 438.8 kB / 2.692 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/3.506, allocations: 0.814 MB / 2.693 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/3.506, allocations: 4 kB / 2.693 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.01333/3.519, allocations: 10.53 MB / 2.703 GB, free: 128.8 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)