Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002502/0.002502, allocations: 176.6 kB / 7.452 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6106/0.6106, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.166/1.166, allocations: 221.3 MB / 395 MB, free: 10.18 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.0008844/0.0008843, allocations: 87.27 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.226e-06/8.336e-06, allocations: 6.375 kB / 0.5528 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.637/2.752, allocations: 1.832 GB / 2.465 GB, free: 95.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/2.752, allocations: 86.39 kB / 2.465 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.5424/3.294, allocations: 199.1 MB / 2.66 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.721e-05/3.294, allocations: 15.75 kB / 2.66 GB, free: 178.9 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009878/3.295, allocations: 0.6424 MB / 2.66 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/3.296, allocations: 8.031 kB / 2.66 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005239/3.296, allocations: 75.55 kB / 2.66 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/3.296, allocations: 312.7 kB / 2.661 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/3.296, allocations: 8 kB / 2.661 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/3.296, allocations: 12 kB / 2.661 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000263/3.297, allocations: 152.8 kB / 2.661 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/3.297, allocations: 239.4 kB / 2.661 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/3.297, allocations: 3.938 kB / 2.661 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/3.297, allocations: 8 kB / 2.661 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/3.297, allocations: 8 kB / 2.661 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/3.298, allocations: 1.217 MB / 2.662 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/3.298, allocations: 126.6 kB / 2.662 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.54e-05/3.299, allocations: 72.84 kB / 2.662 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004217/3.299, allocations: 315 kB / 2.663 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/3.299, allocations: 38.56 kB / 2.663 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/3.299, allocations: 3.938 kB / 2.663 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.001048/3.3, allocations: 306.2 kB / 2.663 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/3.3, allocations: 59.34 kB / 2.663 GB, free: 175 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/3.3, allocations: 180.3 kB / 2.663 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/3.3, allocations: 25.7 kB / 2.663 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/3.3, allocations: 148.1 kB / 2.663 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/3.3, allocations: 51.27 kB / 2.663 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/3.3, allocations: 0 / 2.663 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.043e-05/3.3, allocations: 330.8 kB / 2.664 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/3.301, allocations: 59.97 kB / 2.664 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.674e-05/3.301, allocations: 109.5 kB / 2.664 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/3.301, allocations: 114.5 kB / 2.664 GB, free: 174 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/3.301, allocations: 0 / 2.664 GB, free: 174 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007901/3.302, allocations: 290 kB / 2.664 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/3.302, allocations: 8 kB / 2.664 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/3.302, allocations: 0 / 2.664 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/3.302, allocations: 88.89 kB / 2.664 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/3.302, allocations: 59.91 kB / 2.664 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/3.304, allocations: 1.5 MB / 2.666 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/3.304, allocations: 39.92 kB / 2.666 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/3.304, allocations: 15.98 kB / 2.666 GB, free: 171.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 6.595e-05/3.304, allocations: 116.9 kB / 2.666 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/3.304, allocations: 19.72 kB / 2.666 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007839/3.305, allocations: 304 kB / 2.666 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/3.305, allocations: 0 / 2.666 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/3.305, allocations: 11.98 kB / 2.666 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/3.305, allocations: 0 / 2.666 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/3.306, allocations: 0.6839 MB / 2.667 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/3.306, allocations: 0 / 2.667 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/3.307, allocations: 48.06 kB / 2.667 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/3.307, allocations: 96.61 kB / 2.667 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/3.307, allocations: 0 / 2.667 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/3.308, allocations: 1.523 MB / 2.669 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/3.308, allocations: 3.938 kB / 2.669 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00075/3.309, allocations: 439.6 kB / 2.669 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/3.309, allocations: 108.8 kB / 2.669 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/3.309, allocations: 7.984 kB / 2.669 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/3.31, allocations: 39.91 kB / 2.669 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/3.31, allocations: 19.89 kB / 2.669 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/3.31, allocations: 4 kB / 2.669 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.355e-05/3.31, allocations: 148.5 kB / 2.669 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005035/3.31, allocations: 143.8 kB / 2.67 GB, free: 167.9 MB / 0.6823 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 (12): * Single equations (assignments): 11 * 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.001133/3.311, allocations: 1.08 MB / 2.671 GB, free: 167 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004984/3.312, allocations: 270.4 kB / 2.671 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/3.312, allocations: 4 kB / 2.671 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/3.312, allocations: 200.2 kB / 2.671 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/3.313, allocations: 93.48 kB / 2.671 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/3.313, allocations: 358 kB / 2.671 GB, free: 166 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/3.314, allocations: 0.7998 MB / 2.672 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/3.314, allocations: 0 / 2.672 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.01321/3.327, allocations: 10.28 MB / 2.682 GB, free: 155 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)