Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [: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.7068/0.7068, allocations: 141.8 MB / 149.1 MB, free: 2.906 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.001074/0.001074, allocations: 182.2 kB / 182 MB, free: 14.77 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.28/1.28, allocations: 221.3 MB / 436 MB, free: 7.832 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.000955/0.000955, allocations: 98.47 kB / 0.507 GB, free: 24.5 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001744/0.001744, allocations: 270.1 kB / 0.5885 GB, free: 10.99 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.031e-05/1.037e-05, allocations: 4 kB / 0.6759 GB, free: 1.34 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4079, allocations: 82.75 MB / 0.7567 GB, free: 111.6 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.5301, allocations: 112.7 MB / 0.8668 GB, free: 14.71 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.5304, allocations: 91.75 kB / 0.8669 GB, free: 14.63 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.02875/0.5591, allocations: 10.17 MB / 0.8768 GB, free: 4.504 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.5592, allocations: 8 kB / 0.8768 GB, free: 4.496 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008693/0.5601, allocations: 0.5181 MB / 0.8773 GB, free: 3.934 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5602, allocations: 8.031 kB / 0.8773 GB, free: 3.926 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.5604, allocations: 31.72 kB / 0.8774 GB, free: 3.895 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.5608, allocations: 281.5 kB / 0.8776 GB, free: 3.582 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.5609, allocations: 8 kB / 0.8776 GB, free: 3.574 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.5609, allocations: 8 kB / 0.8776 GB, free: 3.566 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009269/0.5618, allocations: 0.7371 MB / 0.8784 GB, free: 2.828 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.5622, allocations: 208.9 kB / 0.8786 GB, free: 2.605 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5622, allocations: 0 / 0.8786 GB, free: 2.605 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.5623, allocations: 0 / 0.8786 GB, free: 2.605 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.5623, allocations: 4 kB / 0.8786 GB, free: 2.602 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008968/0.5632, allocations: 0.5672 MB / 0.8791 GB, free: 1.992 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.5637, allocations: 289.3 kB / 0.8794 GB, free: 1.703 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.5638, allocations: 97.41 kB / 0.8795 GB, free: 1.605 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.5639, allocations: 24.22 kB / 0.8795 GB, free: 1.582 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.5641, allocations: 163.6 kB / 0.8797 GB, free: 1.41 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=35): time 1.923e-06/0.5641, allocations: 0 / 0.8797 GB, free: 1.41 MB / 0.5419 GB Notification: Performance of matching and sorting (n=35): time 0.0004907/0.5646, allocations: 268.8 kB / 0.8799 GB, free: 1.141 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.5647, allocations: 132.5 kB / 0.8801 GB, free: 0.9805 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.565, allocations: 260.1 kB / 0.8803 GB, free: 0.7188 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.565, allocations: 27.48 kB / 0.8803 GB, free: 0.6875 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.5651, allocations: 112.6 kB / 0.8804 GB, free: 0.5742 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.5652, allocations: 110.4 kB / 0.8805 GB, free: 476 kB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.5652, allocations: 0 / 0.8805 GB, free: 476 kB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5653, allocations: 346.7 kB / 0.8809 GB, free: 120 kB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.5655, allocations: 71.98 kB / 0.8809 GB, free: 48 kB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.5657, allocations: 111.5 kB / 0.881 GB, free: 15.92 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.5658, allocations: 104.7 kB / 0.8811 GB, free: 15.82 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.5658, allocations: 4 kB / 0.8811 GB, free: 15.82 MB / 0.5575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004547/0.5663, allocations: 264.9 kB / 0.8814 GB, free: 15.55 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5663, allocations: 4 kB / 0.8814 GB, free: 15.55 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5663, allocations: 4 kB / 0.8814 GB, free: 15.54 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5664, allocations: 0 / 0.8814 GB, free: 15.54 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.5666, allocations: 67.97 kB / 0.8815 GB, free: 15.48 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5666, allocations: 7.844 kB / 0.8815 GB, free: 15.47 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.5668, allocations: 27.77 kB / 0.8815 GB, free: 15.44 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.5668, allocations: 8 kB / 0.8815 GB, free: 15.43 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001007/0.5669, allocations: 109 kB / 0.8816 GB, free: 15.32 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.567, allocations: 39.55 kB / 0.8817 GB, free: 15.28 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/0.5677, allocations: 368.1 kB / 0.882 GB, free: 14.93 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5677, allocations: 4 kB / 0.882 GB, free: 14.93 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5677, allocations: 0 / 0.882 GB, free: 14.93 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5678, allocations: 3.984 kB / 0.882 GB, free: 14.93 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.5681, allocations: 309.7 kB / 0.8823 GB, free: 14.59 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5681, allocations: 0 / 0.8823 GB, free: 14.59 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.5683, allocations: 63.91 kB / 0.8824 GB, free: 14.53 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5683, allocations: 0.9375 kB / 0.8824 GB, free: 14.53 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.5683, allocations: 15.98 kB / 0.8824 GB, free: 14.51 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5683, allocations: 0 / 0.8824 GB, free: 14.51 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.5683, allocations: 3.906 kB / 0.8824 GB, free: 14.51 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000419/0.5687, allocations: 298.4 kB / 0.8827 GB, free: 14.2 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.5689, allocations: 160.6 kB / 0.8828 GB, free: 14.02 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.569, allocations: 0 / 0.8828 GB, free: 14.02 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.5692, allocations: 31.97 kB / 0.8829 GB, free: 13.99 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.5692, allocations: 23.91 kB / 0.8829 GB, free: 13.97 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.5693, allocations: 15.98 kB / 0.8829 GB, free: 13.95 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0001782/0.5695, allocations: 213.4 kB / 0.8831 GB, free: 13.74 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0003246/0.5698, allocations: 71.83 kB / 0.8832 GB, free: 13.67 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006886/0.5705, allocations: 323.4 kB / 0.8835 GB, free: 13.45 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.5708, allocations: 211.7 kB / 0.8837 GB, free: 13.24 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5708, allocations: 8 kB / 0.8837 GB, free: 13.23 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.571, allocations: 127.7 kB / 0.8838 GB, free: 13.11 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.5713, allocations: 32.36 kB / 0.8838 GB, free: 13.08 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.572, allocations: 401 kB / 0.8842 GB, free: 12.66 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.5724, allocations: 0.8204 MB / 0.885 GB, free: 11.82 MB / 0.5575 GB Notification: Performance of SimCode: time 2.7e-07/0.5724, allocations: 0 / 0.885 GB, free: 11.82 MB / 0.5575 GB Notification: Performance of Templates: time 0.007699/0.5802, allocations: 3.89 MB / 0.8888 GB, free: 7.98 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)