Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [: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.7372/0.7372, allocations: 141.8 MB / 149.1 MB, free: 28 kB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 187.8 kB / 181.9 MB, free: 12.35 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.375/1.375, allocations: 221.3 MB / 436 MB, free: 5.215 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.0009273/0.0009273, allocations: 95.11 kB / 0.507 GB, free: 18.97 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001782/0.001782, allocations: 286.4 kB / 0.5884 GB, free: 6.312 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.035e-06, allocations: 2.219 kB / 0.6759 GB, free: 139.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.143, allocations: 82.77 MB / 0.7567 GB, free: 87.79 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.2559, allocations: 111.5 MB / 0.8656 GB, free: 8.141 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.2561, allocations: 82.22 kB / 0.8657 GB, free: 8.062 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.2747/0.5308, allocations: 9.222 MB / 0.8747 GB, free: 113.3 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.5309, allocations: 7.062 kB / 0.8747 GB, free: 113.3 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.0005363/0.5314, allocations: 0.4971 MB / 0.8752 GB, free: 112.9 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5315, allocations: 10.75 kB / 0.8752 GB, free: 112.9 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.5316, allocations: 25.33 kB / 0.8752 GB, free: 112.9 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.5318, allocations: 272 kB / 0.8755 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.5319, allocations: 3.562 kB / 0.8755 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.5319, allocations: 7.094 kB / 0.8755 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006802/0.5326, allocations: 0.7294 MB / 0.8762 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.5328, allocations: 193.7 kB / 0.8764 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.5328, allocations: 0 / 0.8764 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.5329, allocations: 0 / 0.8764 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5329, allocations: 3.562 kB / 0.8764 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.5335, allocations: 0.5286 MB / 0.8769 GB, free: 112.3 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.5339, allocations: 276.2 kB / 0.8772 GB, free: 112.3 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.534, allocations: 95.16 kB / 0.8773 GB, free: 112.3 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.534, allocations: 17.8 kB / 0.8773 GB, free: 112.3 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.5342, allocations: 158.4 kB / 0.8774 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=34): time 1.453e-06/0.5342, allocations: 0 / 0.8774 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of matching and sorting (n=34): time 0.0003812/0.5346, allocations: 261.1 kB / 0.8777 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.5346, allocations: 136.3 kB / 0.8778 GB, free: 112 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.5348, allocations: 253.3 kB / 0.878 GB, free: 111.9 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.5349, allocations: 25.7 kB / 0.8781 GB, free: 111.9 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.5349, allocations: 106.4 kB / 0.8782 GB, free: 111.8 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.535, allocations: 106.6 kB / 0.8783 GB, free: 111.8 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.535, allocations: 0 / 0.8783 GB, free: 111.8 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.535, allocations: 341.5 kB / 0.8786 GB, free: 111.4 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.724e-05/0.5351, allocations: 73.03 kB / 0.8787 GB, free: 111.4 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.5353, allocations: 114.1 kB / 0.8788 GB, free: 111.4 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.5354, allocations: 101.8 kB / 0.8789 GB, free: 111.4 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5354, allocations: 3.812 kB / 0.8789 GB, free: 111.4 MB / 0.5419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003168/0.5357, allocations: 256.8 kB / 0.8791 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.5358, allocations: 7.75 kB / 0.8791 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5358, allocations: 2.578 kB / 0.8791 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5358, allocations: 4.656 kB / 0.8791 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.536, allocations: 61.94 kB / 0.8792 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.536, allocations: 0.625 kB / 0.8792 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.5361, allocations: 27.05 kB / 0.8792 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.5362, allocations: 21.05 kB / 0.8792 GB, free: 111.3 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 (35): * Single equations (assignments): 35 * 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 6.992e-05/0.5363, allocations: 110.4 kB / 0.8793 GB, free: 111.2 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.5363, allocations: 23.44 kB / 0.8794 GB, free: 111.2 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005825/0.5369, allocations: 383.8 kB / 0.8797 GB, free: 111.1 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5369, allocations: 7.547 kB / 0.8797 GB, free: 111.1 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.5369, allocations: 1.156 kB / 0.8797 GB, free: 111.1 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5369, allocations: 3.047 kB / 0.8797 GB, free: 111.1 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.5372, allocations: 297 kB / 0.88 GB, free: 111 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5372, allocations: 1.031 kB / 0.88 GB, free: 111 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.5374, allocations: 62.48 kB / 0.8801 GB, free: 111 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5374, allocations: 1.344 kB / 0.8801 GB, free: 111 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5374, allocations: 9.203 kB / 0.8801 GB, free: 111 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.5374, allocations: 1.531 kB / 0.8801 GB, free: 111 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5374, allocations: 1.531 kB / 0.8801 GB, free: 111 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003902/0.5378, allocations: 296.7 kB / 0.8804 GB, free: 110.9 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.538, allocations: 153.9 kB / 0.8805 GB, free: 110.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.538, allocations: 0.9688 kB / 0.8805 GB, free: 110.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.5381, allocations: 14.84 kB / 0.8806 GB, free: 110.8 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.5382, allocations: 21.84 kB / 0.8806 GB, free: 110.8 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.5382, allocations: 14.36 kB / 0.8806 GB, free: 110.8 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001761/0.5384, allocations: 211.9 kB / 0.8808 GB, free: 110.7 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003044/0.5387, allocations: 63.83 kB / 0.8808 GB, free: 110.7 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 (34): * Single equations (assignments): 33 * 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.0006124/0.5393, allocations: 319.3 kB / 0.8812 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.5397, allocations: 212.8 kB / 0.8814 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5397, allocations: 1.188 kB / 0.8814 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.5399, allocations: 123.7 kB / 0.8815 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.5401, allocations: 23.09 kB / 0.8815 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.5408, allocations: 398.4 kB / 0.8819 GB, free: 110.4 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.5411, allocations: 0.8115 MB / 0.8827 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of SimCode: time 2.2e-07/0.5411, allocations: 0 / 0.8827 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of Templates: time 0.008124/0.5492, allocations: 3.524 MB / 0.8861 GB, free: 109.4 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)