Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Annex60.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.289/0.289, allocations: 54.39 MB / 61.67 MB, free: 11.21 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001527/0.001528, allocations: 186 kB / 75.37 MB, free: 1.488 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.705/1.705, allocations: 194.2 MB / 283.2 MB, free: 3.512 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001934/0.001934, allocations: 114 kB / 341.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.109e-05/1.113e-05, allocations: 0 / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1326, allocations: 57.65 MB / 462.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.996/5.129, allocations: 2.122 GB / 2.574 GB, free: 82.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/5.129, allocations: 88.7 kB / 2.574 GB, free: 81.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.7049/5.834, allocations: 217.4 MB / 2.786 GB, free: 65.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.601e-05/5.834, allocations: 15.98 kB / 2.786 GB, free: 65.84 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0019/5.836, allocations: 0.7642 MB / 2.787 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/5.836, allocations: 11.97 kB / 2.787 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/5.837, allocations: 87.39 kB / 2.787 GB, free: 64.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006624/5.837, allocations: 357.9 kB / 2.787 GB, free: 64.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/5.838, allocations: 12 kB / 2.787 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/5.838, allocations: 23.91 kB / 2.787 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006015/5.838, allocations: 309.5 kB / 2.787 GB, free: 64.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/5.839, allocations: 390.2 kB / 2.788 GB, free: 63.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/5.839, allocations: 3.938 kB / 2.788 GB, free: 63.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/5.839, allocations: 0 / 2.788 GB, free: 63.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/5.839, allocations: 8 kB / 2.788 GB, free: 63.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/5.841, allocations: 1.555 MB / 2.789 GB, free: 62.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/5.842, allocations: 162.9 kB / 2.79 GB, free: 61.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/5.842, allocations: 105.1 kB / 2.79 GB, free: 61.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004081/5.842, allocations: 209.2 kB / 2.79 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/5.842, allocations: 38.55 kB / 2.79 GB, free: 61.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=21): time 2.264e-06/5.842, allocations: 0 / 2.79 GB, free: 61.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21): time 0.001113/5.843, allocations: 333 kB / 2.79 GB, free: 61.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/5.843, allocations: 59.41 kB / 2.79 GB, free: 61.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/5.844, allocations: 225.1 kB / 2.79 GB, free: 60.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/5.844, allocations: 25.7 kB / 2.79 GB, free: 60.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/5.844, allocations: 215.5 kB / 2.791 GB, free: 60.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/5.844, allocations: 70.94 kB / 2.791 GB, free: 60.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/5.844, allocations: 7.938 kB / 2.791 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/5.844, allocations: 338.7 kB / 2.791 GB, free: 60.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/5.844, allocations: 87.98 kB / 2.791 GB, free: 60.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/5.844, allocations: 167 kB / 2.791 GB, free: 60.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000775/5.845, allocations: 227.7 kB / 2.792 GB, free: 59.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/5.845, allocations: 0 / 2.792 GB, free: 59.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001013/5.846, allocations: 417.5 kB / 2.792 GB, free: 59.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/5.846, allocations: 8.031 kB / 2.792 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/5.846, allocations: 7.984 kB / 2.792 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/5.846, allocations: 4 kB / 2.792 GB, free: 59.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/5.847, allocations: 87.89 kB / 2.792 GB, free: 59.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/5.847, allocations: 8 kB / 2.792 GB, free: 59.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/5.847, allocations: 63.64 kB / 2.792 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/5.847, allocations: 12 kB / 2.792 GB, free: 59.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001089/5.847, allocations: 112.8 kB / 2.792 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/5.847, allocations: 31.66 kB / 2.792 GB, free: 59.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009684/5.848, allocations: 375.4 kB / 2.793 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/5.848, allocations: 7.938 kB / 2.793 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/5.848, allocations: 0 / 2.793 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/5.848, allocations: 0 / 2.793 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/5.85, allocations: 0.8535 MB / 2.793 GB, free: 57.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/5.85, allocations: 0 / 2.793 GB, free: 57.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/5.85, allocations: 67.98 kB / 2.794 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/5.85, allocations: 4 kB / 2.794 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/5.85, allocations: 0 / 2.794 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/5.85, allocations: 7.906 kB / 2.794 GB, free: 57.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/5.85, allocations: 0 / 2.794 GB, free: 57.65 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001106/5.851, allocations: 0.606 MB / 2.794 GB, free: 57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/5.852, allocations: 140.7 kB / 2.794 GB, free: 56.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/5.852, allocations: 0 / 2.794 GB, free: 56.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/5.852, allocations: 47.95 kB / 2.794 GB, free: 56.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/5.852, allocations: 23.97 kB / 2.794 GB, free: 56.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/5.852, allocations: 15.98 kB / 2.794 GB, free: 56.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001332/5.852, allocations: 181.2 kB / 2.795 GB, free: 56.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008041/5.853, allocations: 227.5 kB / 2.795 GB, free: 56.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 21 * 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.001819/5.855, allocations: 1.172 MB / 2.796 GB, free: 55.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000399/5.855, allocations: 216 kB / 2.796 GB, free: 54.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/5.855, allocations: 4 kB / 2.796 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/5.856, allocations: 103.9 kB / 2.796 GB, free: 54.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/5.856, allocations: 101.3 kB / 2.796 GB, free: 54.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/5.857, allocations: 0.4939 MB / 2.797 GB, free: 54.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/5.858, allocations: 0.8609 MB / 2.798 GB, free: 53.35 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/5.858, allocations: 0 / 2.798 GB, free: 53.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.01852/5.876, allocations: 11.94 MB / 2.809 GB, free: 41.42 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)