Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Sensors.Examples.RelativeHumidity") translateModel(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00376/0.00376, allocations: 179.2 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.684/0.684, allocations: 130.6 MB / 138.5 MB, free: 2.148 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 221.3 MB / 391.4 MB, free: 13.02 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.001111/0.001111, allocations: 103 kB / 473.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.011e-05, allocations: 3.062 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2048, allocations: 81.58 MB / 0.6276 GB, free: 18.19 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.224/4.429, allocations: 1.831 GB / 2.459 GB, free: 45.06 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/4.43, allocations: 87.8 kB / 2.459 GB, free: 44.98 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.8069/5.237, allocations: 222.8 MB / 2.676 GB, free: 87.18 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.215e-05/5.237, allocations: 4 kB / 2.676 GB, free: 87.18 MB / 0.6667 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.001612/5.238, allocations: 0.6813 MB / 2.677 GB, free: 86.45 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/5.238, allocations: 8.031 kB / 2.677 GB, free: 86.45 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007326/5.239, allocations: 91.45 kB / 2.677 GB, free: 86.36 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/5.24, allocations: 313.9 kB / 2.678 GB, free: 86.01 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/5.24, allocations: 4 kB / 2.678 GB, free: 86 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.579e-05/5.24, allocations: 16 kB / 2.678 GB, free: 85.99 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003979/5.24, allocations: 188.9 kB / 2.678 GB, free: 85.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/5.241, allocations: 254.4 kB / 2.678 GB, free: 85.54 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/5.241, allocations: 3.984 kB / 2.678 GB, free: 85.54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/5.241, allocations: 0 / 2.678 GB, free: 85.54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/5.241, allocations: 8 kB / 2.678 GB, free: 85.53 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/5.243, allocations: 1.016 MB / 2.679 GB, free: 84.46 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/5.243, allocations: 170.6 kB / 2.679 GB, free: 84.29 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/5.243, allocations: 89.34 kB / 2.679 GB, free: 84.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005844/5.244, allocations: 400.3 kB / 2.68 GB, free: 83.73 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/5.244, allocations: 34.56 kB / 2.68 GB, free: 83.69 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/5.244, allocations: 0 / 2.68 GB, free: 83.69 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.001244/5.245, allocations: 350.8 kB / 2.68 GB, free: 83.34 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/5.245, allocations: 55.31 kB / 2.68 GB, free: 83.28 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/5.245, allocations: 180.3 kB / 2.68 GB, free: 83.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/5.245, allocations: 29.7 kB / 2.68 GB, free: 83.06 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/5.245, allocations: 148.2 kB / 2.68 GB, free: 82.91 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/5.245, allocations: 63.02 kB / 2.68 GB, free: 82.85 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/5.245, allocations: 0 / 2.68 GB, free: 82.85 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000122/5.246, allocations: 334.8 kB / 2.681 GB, free: 82.52 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/5.246, allocations: 67.98 kB / 2.681 GB, free: 82.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/5.246, allocations: 141.2 kB / 2.681 GB, free: 82.29 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/5.247, allocations: 191.8 kB / 2.681 GB, free: 82.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/5.247, allocations: 4 kB / 2.681 GB, free: 82.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008983/5.247, allocations: 348.2 kB / 2.681 GB, free: 81.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/5.247, allocations: 4.781 kB / 2.681 GB, free: 81.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/5.248, allocations: 4 kB / 2.681 GB, free: 81.74 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/5.248, allocations: 3.938 kB / 2.681 GB, free: 81.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/5.248, allocations: 76.05 kB / 2.682 GB, free: 81.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/5.248, allocations: 7.906 kB / 2.682 GB, free: 81.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/5.248, allocations: 55.8 kB / 2.682 GB, free: 81.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/5.248, allocations: 12 kB / 2.682 GB, free: 81.59 MB / 0.6667 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 8.657e-05/5.248, allocations: 108.9 kB / 2.682 GB, free: 81.48 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/5.248, allocations: 23.72 kB / 2.682 GB, free: 81.45 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009546/5.249, allocations: 347.2 kB / 2.682 GB, free: 81.11 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/5.249, allocations: 4 kB / 2.682 GB, free: 81.11 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/5.249, allocations: 3.906 kB / 2.682 GB, free: 81.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/5.249, allocations: 4 kB / 2.682 GB, free: 81.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/5.251, allocations: 0.861 MB / 2.683 GB, free: 80.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/5.251, allocations: 0 / 2.683 GB, free: 80.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/5.251, allocations: 67.98 kB / 2.683 GB, free: 80.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/5.251, allocations: 4 kB / 2.683 GB, free: 80.09 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/5.251, allocations: 7.938 kB / 2.683 GB, free: 80.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/5.251, allocations: 4 kB / 2.683 GB, free: 80.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/5.251, allocations: 3.938 kB / 2.683 GB, free: 80.07 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001072/5.252, allocations: 0.638 MB / 2.684 GB, free: 79.36 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/5.253, allocations: 128.7 kB / 2.684 GB, free: 79.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/5.253, allocations: 0 / 2.684 GB, free: 79.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/5.253, allocations: 40.02 kB / 2.684 GB, free: 79.18 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/5.253, allocations: 11.98 kB / 2.684 GB, free: 79.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/5.253, allocations: 12 kB / 2.684 GB, free: 79.16 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001063/5.253, allocations: 148.4 kB / 2.684 GB, free: 79.01 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007646/5.254, allocations: 183.7 kB / 2.684 GB, free: 78.83 MB / 0.6667 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.001813/5.256, allocations: 1.175 MB / 2.685 GB, free: 77.66 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003388/5.256, allocations: 179.9 kB / 2.685 GB, free: 77.49 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/5.256, allocations: 4 kB / 2.685 GB, free: 77.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/5.256, allocations: 104.4 kB / 2.686 GB, free: 77.38 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/5.257, allocations: 76.42 kB / 2.686 GB, free: 77.31 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/5.258, allocations: 454.6 kB / 2.686 GB, free: 76.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/5.258, allocations: 0.8179 MB / 2.687 GB, free: 75.98 MB / 0.6667 GB Notification: Performance of SimCode: time 5.51e-07/5.258, allocations: 0 / 2.687 GB, free: 75.98 MB / 0.6667 GB Notification: Performance of Templates: time 0.01658/5.275, allocations: 10.54 MB / 2.697 GB, free: 65.49 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)