Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Annex60.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb") [: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.2956/0.2956, allocations: 54.39 MB / 61.67 MB, free: 11.16 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.001345/0.001345, allocations: 187.6 kB / 75.37 MB, free: 1.484 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.588/1.588, allocations: 194.2 MB / 283.2 MB, free: 3.465 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.001736/0.001736, allocations: 119.2 kB / 341.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.229e-05/1.232e-05, allocations: 4 kB / 404.9 MB, free: 27.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1539, allocations: 57.65 MB / 462.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.952/5.106, allocations: 2.122 GB / 2.574 GB, free: 81.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/5.106, allocations: 79.95 kB / 2.574 GB, free: 80.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.7584/5.865, allocations: 194.7 MB / 2.764 GB, free: 86.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.426e-05/5.865, allocations: 10.58 kB / 2.764 GB, free: 86.65 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.002129/5.867, allocations: 0.7687 MB / 2.765 GB, free: 85.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/5.867, allocations: 11.97 kB / 2.765 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006753/5.868, allocations: 79.39 kB / 2.765 GB, free: 85.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007328/5.869, allocations: 351.6 kB / 2.765 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/5.869, allocations: 8 kB / 2.765 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/5.869, allocations: 24 kB / 2.765 GB, free: 85.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000598/5.869, allocations: 297.4 kB / 2.766 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/5.87, allocations: 403.9 kB / 2.766 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/5.87, allocations: 3.906 kB / 2.766 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/5.87, allocations: 4 kB / 2.766 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/5.87, allocations: 8 kB / 2.766 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/5.873, allocations: 1.788 MB / 2.768 GB, free: 82.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/5.873, allocations: 217.1 kB / 2.768 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/5.874, allocations: 132.8 kB / 2.768 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/5.874, allocations: 121.1 kB / 2.768 GB, free: 82.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/5.874, allocations: 42.47 kB / 2.768 GB, free: 82.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 2.385e-06/5.874, allocations: 0 / 2.768 GB, free: 82.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001337/5.875, allocations: 390.9 kB / 2.769 GB, free: 81.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/5.875, allocations: 55.41 kB / 2.769 GB, free: 81.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/5.876, allocations: 201 kB / 2.769 GB, free: 81.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/5.876, allocations: 29.7 kB / 2.769 GB, free: 81.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/5.876, allocations: 191.8 kB / 2.769 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/5.876, allocations: 78.86 kB / 2.769 GB, free: 81.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/5.876, allocations: 0 / 2.769 GB, free: 81.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/5.876, allocations: 338.8 kB / 2.769 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/5.876, allocations: 116 kB / 2.77 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/5.876, allocations: 153.1 kB / 2.77 GB, free: 80.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/5.877, allocations: 167.9 kB / 2.77 GB, free: 80.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/5.877, allocations: 0 / 2.77 GB, free: 80.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001125/5.878, allocations: 444.7 kB / 2.77 GB, free: 79.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/5.878, allocations: 14.17 kB / 2.77 GB, free: 79.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/5.878, allocations: 3.906 kB / 2.77 GB, free: 79.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006685/5.878, allocations: 108.8 kB / 2.77 GB, free: 79.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/5.879, allocations: 75.89 kB / 2.77 GB, free: 79.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/5.881, allocations: 1.664 MB / 2.772 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/5.881, allocations: 59.8 kB / 2.772 GB, free: 77.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/5.881, allocations: 12 kB / 2.772 GB, free: 77.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (senWetBul.wetBulMod.iWat) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001388/5.882, allocations: 116.9 kB / 2.772 GB, free: 77.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-05/5.882, allocations: 31.62 kB / 2.772 GB, free: 77.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/5.883, allocations: 432.2 kB / 2.773 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/5.883, allocations: 4 kB / 2.773 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/5.883, allocations: 0 / 2.773 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/5.883, allocations: 0 / 2.773 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/5.884, allocations: 0.8501 MB / 2.774 GB, free: 76.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/5.884, allocations: 0 / 2.774 GB, free: 76.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/5.885, allocations: 64 kB / 2.774 GB, free: 76.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005428/5.885, allocations: 112.8 kB / 2.774 GB, free: 76.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/5.885, allocations: 0 / 2.774 GB, free: 76.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/5.887, allocations: 1.687 MB / 2.775 GB, free: 74.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/5.887, allocations: 144 / 2.775 GB, free: 74.42 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001023/5.888, allocations: 0.5541 MB / 2.776 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/5.888, allocations: 148.6 kB / 2.776 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/5.888, allocations: 4 kB / 2.776 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/5.889, allocations: 47.95 kB / 2.776 GB, free: 73.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/5.889, allocations: 19.97 kB / 2.776 GB, free: 73.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/5.889, allocations: 11.98 kB / 2.776 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001461/5.889, allocations: 161.2 kB / 2.776 GB, free: 73.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009256/5.89, allocations: 199.6 kB / 2.776 GB, free: 73.22 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002318/5.892, allocations: 1.093 MB / 2.778 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001114/5.894, allocations: 419.8 kB / 2.778 GB, free: 71.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/5.894, allocations: 0 / 2.778 GB, free: 71.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005371/5.894, allocations: 261.5 kB / 2.778 GB, free: 71.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/5.895, allocations: 124.5 kB / 2.778 GB, free: 71.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/5.897, allocations: 482.2 kB / 2.779 GB, free: 70.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/5.897, allocations: 0.8531 MB / 2.78 GB, free: 70.05 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/5.897, allocations: 0 / 2.78 GB, free: 70.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.022/5.919, allocations: 12.38 MB / 2.792 GB, free: 57.73 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)