Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [: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.6939/0.6939, allocations: 141.8 MB / 149.1 MB, free: 4.473 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.001026/0.001026, allocations: 185.3 kB / 181.9 MB, free: 164 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.3 MB / 436 MB, free: 9.336 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.0009571/0.0009571, allocations: 92.17 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 289.8 kB / 0.5884 GB, free: 12.32 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.217e-06, allocations: 4 kB / 0.6759 GB, free: 2.68 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3908, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.507, allocations: 111.6 MB / 0.8657 GB, free: 1.172 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.5072, allocations: 87.75 kB / 0.8658 GB, free: 1.09 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.02446/0.5317, allocations: 9.313 MB / 0.8749 GB, free: 7.82 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.5318, allocations: 5.312 kB / 0.8749 GB, free: 7.816 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007321/0.5325, allocations: 0.5036 MB / 0.8754 GB, free: 7.27 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5326, allocations: 8.031 kB / 0.8754 GB, free: 7.262 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.5327, allocations: 29.34 kB / 0.8754 GB, free: 7.234 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.533, allocations: 267.5 kB / 0.8756 GB, free: 6.93 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.5331, allocations: 4.938 kB / 0.8757 GB, free: 6.926 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.5331, allocations: 11.98 kB / 0.8757 GB, free: 6.914 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000873/0.534, allocations: 0.7264 MB / 0.8764 GB, free: 6.188 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.5343, allocations: 194 kB / 0.8766 GB, free: 5.98 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5343, allocations: 0 / 0.8766 GB, free: 5.98 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.5344, allocations: 0.5312 kB / 0.8766 GB, free: 5.98 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.5344, allocations: 11.91 kB / 0.8766 GB, free: 5.969 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.5352, allocations: 0.532 MB / 0.8771 GB, free: 5.398 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.5355, allocations: 204.3 kB / 0.8773 GB, free: 5.191 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.5357, allocations: 92.83 kB / 0.8774 GB, free: 5.098 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.5357, allocations: 17.19 kB / 0.8774 GB, free: 5.082 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.536, allocations: 161.3 kB / 0.8775 GB, free: 4.91 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.536, allocations: 0 / 0.8775 GB, free: 4.91 MB / 0.5419 GB Notification: Performance of matching and sorting (n=33): time 0.0004639/0.5364, allocations: 255.1 kB / 0.8778 GB, free: 4.656 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.5365, allocations: 132.5 kB / 0.8779 GB, free: 4.496 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.5368, allocations: 263.8 kB / 0.8782 GB, free: 4.23 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.5368, allocations: 25.7 kB / 0.8782 GB, free: 4.199 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.5369, allocations: 104.8 kB / 0.8783 GB, free: 4.094 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.537, allocations: 102.5 kB / 0.8784 GB, free: 3.992 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.537, allocations: 0 / 0.8784 GB, free: 3.992 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5371, allocations: 338.7 kB / 0.8787 GB, free: 3.652 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.5373, allocations: 71.98 kB / 0.8788 GB, free: 3.582 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.5374, allocations: 123.5 kB / 0.8789 GB, free: 3.449 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.5376, allocations: 92.97 kB / 0.879 GB, free: 3.359 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5376, allocations: 4 kB / 0.879 GB, free: 3.355 MB / 0.5419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000406/0.538, allocations: 253.2 kB / 0.8792 GB, free: 3.102 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.538, allocations: 4 kB / 0.8792 GB, free: 3.098 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5381, allocations: 3.984 kB / 0.8792 GB, free: 3.094 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5381, allocations: 7.984 kB / 0.8792 GB, free: 3.086 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.5383, allocations: 59.91 kB / 0.8793 GB, free: 3.027 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5383, allocations: 4 kB / 0.8793 GB, free: 3.023 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.5385, allocations: 23.73 kB / 0.8793 GB, free: 3 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.5385, allocations: 23.42 kB / 0.8793 GB, free: 2.98 MB / 0.5419 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 (34): * Single equations (assignments): 34 * 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 9.947e-05/0.5386, allocations: 105 kB / 0.8794 GB, free: 2.871 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.5387, allocations: 25.59 kB / 0.8795 GB, free: 2.848 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006478/0.5393, allocations: 378 kB / 0.8798 GB, free: 2.496 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.5394, allocations: 0 / 0.8798 GB, free: 2.496 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5394, allocations: 4 kB / 0.8798 GB, free: 2.492 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.5394, allocations: 3.984 kB / 0.8798 GB, free: 2.488 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.5397, allocations: 301.7 kB / 0.8801 GB, free: 2.156 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5397, allocations: 0 / 0.8801 GB, free: 2.156 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.5398, allocations: 59.91 kB / 0.8802 GB, free: 2.098 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5399, allocations: 0 / 0.8802 GB, free: 2.098 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.5399, allocations: 11.98 kB / 0.8802 GB, free: 2.086 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5399, allocations: 0 / 0.8802 GB, free: 2.086 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5399, allocations: 8 kB / 0.8802 GB, free: 2.078 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003861/0.5403, allocations: 293.5 kB / 0.8805 GB, free: 1.773 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.5405, allocations: 152.7 kB / 0.8806 GB, free: 1.605 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.5405, allocations: 0 / 0.8806 GB, free: 1.605 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.5407, allocations: 19.98 kB / 0.8807 GB, free: 1.586 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.5407, allocations: 19.97 kB / 0.8807 GB, free: 1.566 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.5408, allocations: 11.98 kB / 0.8807 GB, free: 1.555 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0002355/0.541, allocations: 220.4 kB / 0.8809 GB, free: 1.34 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003098/0.5413, allocations: 59.91 kB / 0.8809 GB, free: 1.281 MB / 0.5419 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 (33): * Single equations (assignments): 32 * 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.0007239/0.5421, allocations: 324.3 kB / 0.8813 GB, free: 1.07 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.5424, allocations: 207.8 kB / 0.8815 GB, free: 0.8672 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5424, allocations: 0 / 0.8815 GB, free: 0.8672 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.5426, allocations: 121 kB / 0.8816 GB, free: 0.75 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.5428, allocations: 18.28 kB / 0.8816 GB, free: 0.7266 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.5435, allocations: 393.2 kB / 0.882 GB, free: 328 kB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.5439, allocations: 0.8108 MB / 0.8828 GB, free: 15.48 MB / 0.5575 GB Notification: Performance of SimCode: time 2.71e-07/0.5439, allocations: 0 / 0.8828 GB, free: 15.48 MB / 0.5575 GB Notification: Performance of Templates: time 0.006983/0.5509, allocations: 3.563 MB / 0.8862 GB, free: 11.97 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)