Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8279/0.8279, allocations: 141.8 MB / 149.1 MB, free: 1.477 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 195.1 kB / 182 MB, free: 13.57 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.3 MB / 436 MB, free: 6.488 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 101.6 kB / 0.5071 GB, free: 19.08 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001915/0.001915, allocations: 280.4 kB / 0.5885 GB, free: 7.496 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.027e-06, allocations: 2.406 kB / 0.6759 GB, free: 140.5 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1898, allocations: 82.79 MB / 0.7567 GB, free: 90.09 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.123/4.313, allocations: 1.829 GB / 2.586 GB, free: 197.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/4.314, allocations: 87.94 kB / 2.586 GB, free: 197.2 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.7462/5.06, allocations: 199.2 MB / 2.781 GB, free: 196.2 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 3.539e-05/5.06, allocations: 6.234 kB / 2.781 GB, free: 196.2 MB / 0.6982 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.001503/5.061, allocations: 0.6461 MB / 2.781 GB, free: 195.9 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/5.062, allocations: 8.938 kB / 2.781 GB, free: 195.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006647/5.062, allocations: 84.61 kB / 2.781 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/5.063, allocations: 292.5 kB / 2.782 GB, free: 195.6 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/5.063, allocations: 7.562 kB / 2.782 GB, free: 195.6 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/5.063, allocations: 15 kB / 2.782 GB, free: 195.6 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000349/5.063, allocations: 151.5 kB / 2.782 GB, free: 195.6 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/5.064, allocations: 242.1 kB / 2.782 GB, free: 195.6 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/5.064, allocations: 6.188 kB / 2.782 GB, free: 195.6 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/5.064, allocations: 3.906 kB / 2.782 GB, free: 195.6 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/5.064, allocations: 7.5 kB / 2.782 GB, free: 195.6 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/5.065, allocations: 1.218 MB / 2.783 GB, free: 194.7 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/5.066, allocations: 133.2 kB / 2.783 GB, free: 194.7 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/5.066, allocations: 80.73 kB / 2.783 GB, free: 194.7 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/5.066, allocations: 307 kB / 2.784 GB, free: 194.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/5.066, allocations: 40.36 kB / 2.784 GB, free: 194.4 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=14): time 1.943e-06/5.066, allocations: 0 / 2.784 GB, free: 194.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=14): time 0.001199/5.067, allocations: 302 kB / 2.784 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/5.068, allocations: 51.41 kB / 2.784 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/5.068, allocations: 183.8 kB / 2.784 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/5.068, allocations: 25.7 kB / 2.784 GB, free: 194.1 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/5.068, allocations: 157.4 kB / 2.784 GB, free: 194 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/5.068, allocations: 46.72 kB / 2.784 GB, free: 194 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/5.068, allocations: 0 / 2.784 GB, free: 194 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/5.068, allocations: 328.8 kB / 2.785 GB, free: 193.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.602e-05/5.068, allocations: 57.09 kB / 2.785 GB, free: 193.7 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/5.068, allocations: 114.1 kB / 2.785 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/5.068, allocations: 106.4 kB / 2.785 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/5.068, allocations: 0 / 2.785 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008707/5.069, allocations: 300 kB / 2.785 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/5.069, allocations: 3.719 kB / 2.785 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/5.069, allocations: 7.594 kB / 2.785 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006265/5.07, allocations: 95.08 kB / 2.785 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/5.07, allocations: 50.72 kB / 2.785 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/5.072, allocations: 1.501 MB / 2.787 GB, free: 192.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/5.072, allocations: 41.34 kB / 2.787 GB, free: 192.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/5.072, allocations: 15.22 kB / 2.787 GB, free: 192.4 MB / 0.6982 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 8.839e-05/5.072, allocations: 108.2 kB / 2.787 GB, free: 192.2 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/5.073, allocations: 23.16 kB / 2.787 GB, free: 192.2 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009099/5.073, allocations: 320.3 kB / 2.787 GB, free: 192.2 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/5.073, allocations: 3.516 kB / 2.787 GB, free: 192.2 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/5.073, allocations: 6.875 kB / 2.787 GB, free: 192.2 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/5.073, allocations: 3.281 kB / 2.787 GB, free: 192.2 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/5.075, allocations: 0.6785 MB / 2.788 GB, free: 191.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/5.075, allocations: 0 / 2.788 GB, free: 191.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/5.075, allocations: 54.59 kB / 2.788 GB, free: 191.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005052/5.076, allocations: 86.47 kB / 2.788 GB, free: 191.9 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/5.076, allocations: 3.5 kB / 2.788 GB, free: 191.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/5.077, allocations: 1.536 MB / 2.79 GB, free: 190.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/5.077, allocations: 0 / 2.79 GB, free: 190.6 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008383/5.078, allocations: 440.9 kB / 2.79 GB, free: 190.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/5.078, allocations: 111.7 kB / 2.79 GB, free: 190.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/5.078, allocations: 11.48 kB / 2.79 GB, free: 190.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/5.079, allocations: 35.94 kB / 2.79 GB, free: 190.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/5.079, allocations: 10.33 kB / 2.79 GB, free: 190.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/5.079, allocations: 7.656 kB / 2.79 GB, free: 190.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001141/5.079, allocations: 147.2 kB / 2.79 GB, free: 190.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0006396/5.079, allocations: 141.2 kB / 2.791 GB, free: 190.2 MB / 0.6982 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.001678/5.081, allocations: 1.084 MB / 2.792 GB, free: 190.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006082/5.082, allocations: 260.5 kB / 2.792 GB, free: 190 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/5.082, allocations: 0 / 2.792 GB, free: 190 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/5.082, allocations: 208.1 kB / 2.792 GB, free: 189.9 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/5.083, allocations: 81.11 kB / 2.792 GB, free: 189.9 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009073/5.084, allocations: 353.3 kB / 2.792 GB, free: 189.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/5.084, allocations: 0.7995 MB / 2.793 GB, free: 189 MB / 0.6982 GB Notification: Performance of SimCode: time 4.01e-07/5.084, allocations: 0 / 2.793 GB, free: 189 MB / 0.6982 GB Notification: Performance of Templates: time 0.01691/5.101, allocations: 10.29 MB / 2.803 GB, free: 188.8 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)