Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001256, allocations: 187.6 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4873/0.4873, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 221.4 MB / 342.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008984, allocations: 98.2 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.348e-06, allocations: 4 kB / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3294, allocations: 72.3 MB / 0.5529 GB, free: 73.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.4371, allocations: 104.4 MB / 0.6548 GB, free: 5.652 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.4374, allocations: 79.95 kB / 0.6549 GB, free: 5.574 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.02457/0.462, allocations: 9.231 MB / 0.6639 GB, free: 12.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.462, allocations: 4 kB / 0.6639 GB, free: 12.43 MB / 490.7 MB 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.0007223/0.4628, allocations: 0.4981 MB / 0.6644 GB, free: 11.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4628, allocations: 12.69 kB / 0.6644 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.4629, allocations: 29.58 kB / 0.6644 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.4633, allocations: 264.9 kB / 0.6647 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.4633, allocations: 4.594 kB / 0.6647 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.4634, allocations: 8 kB / 0.6647 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009131/0.4643, allocations: 0.7348 MB / 0.6654 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.4646, allocations: 181.6 kB / 0.6656 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4646, allocations: 0.6562 kB / 0.6656 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.4646, allocations: 3.938 kB / 0.6656 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.4647, allocations: 4.688 kB / 0.6656 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008617/0.4655, allocations: 0.5258 MB / 0.6661 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.466, allocations: 285.3 kB / 0.6664 GB, free: 9.754 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.4661, allocations: 90.06 kB / 0.6665 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-05/0.4662, allocations: 28.23 kB / 0.6665 GB, free: 9.637 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.4664, allocations: 153.8 kB / 0.6666 GB, free: 9.477 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.215e-06/0.4664, allocations: 0 / 0.6666 GB, free: 9.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005089/0.4669, allocations: 269 kB / 0.6669 GB, free: 9.207 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.467, allocations: 132.5 kB / 0.667 GB, free: 9.047 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.4673, allocations: 255 kB / 0.6673 GB, free: 8.785 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.4674, allocations: 25.7 kB / 0.6673 GB, free: 8.754 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.4674, allocations: 104.8 kB / 0.6674 GB, free: 8.648 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.384e-05/0.4675, allocations: 116 kB / 0.6675 GB, free: 8.535 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.4675, allocations: 0 / 0.6675 GB, free: 8.535 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4677, allocations: 334.8 kB / 0.6678 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.4678, allocations: 67.98 kB / 0.6679 GB, free: 8.133 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.468, allocations: 119.4 kB / 0.668 GB, free: 8.004 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.4681, allocations: 100.6 kB / 0.6681 GB, free: 7.906 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4681, allocations: 4 kB / 0.6681 GB, free: 7.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003942/0.4685, allocations: 264.4 kB / 0.6684 GB, free: 7.641 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4686, allocations: 7.906 kB / 0.6684 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4686, allocations: 0 / 0.6684 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4686, allocations: 4 kB / 0.6684 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.4688, allocations: 63.91 kB / 0.6684 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4689, allocations: 0 / 0.6684 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.469, allocations: 23.83 kB / 0.6685 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.4691, allocations: 15.98 kB / 0.6685 GB, free: 7.527 MB / 490.7 MB 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 9.375e-05/0.4692, allocations: 108.8 kB / 0.6686 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.4692, allocations: 23.72 kB / 0.6686 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006754/0.4699, allocations: 382.3 kB / 0.669 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.4699, allocations: 5.969 kB / 0.669 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4699, allocations: 0 / 0.669 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4699, allocations: 0 / 0.669 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.4702, allocations: 305.8 kB / 0.6693 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4703, allocations: 48 / 0.6693 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.4704, allocations: 59.89 kB / 0.6693 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4705, allocations: 4 kB / 0.6693 GB, free: 6.633 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.4705, allocations: 11.98 kB / 0.6693 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4705, allocations: 0 / 0.6693 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4705, allocations: 3.938 kB / 0.6693 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004358/0.4709, allocations: 302.3 kB / 0.6696 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.4711, allocations: 156.7 kB / 0.6698 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.4712, allocations: 3.906 kB / 0.6698 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.4713, allocations: 11.98 kB / 0.6698 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.4714, allocations: 23.97 kB / 0.6698 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.4714, allocations: 11.98 kB / 0.6698 GB, free: 6.078 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001771/0.4716, allocations: 209.6 kB / 0.67 GB, free: 5.875 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.4719, allocations: 63.92 kB / 0.6701 GB, free: 5.812 MB / 490.7 MB 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.0006832/0.4726, allocations: 307.6 kB / 0.6704 GB, free: 5.637 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.4729, allocations: 211.8 kB / 0.6706 GB, free: 5.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.473, allocations: 0 / 0.6706 GB, free: 5.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.4731, allocations: 119.8 kB / 0.6707 GB, free: 5.312 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.4734, allocations: 25.69 kB / 0.6707 GB, free: 5.285 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007611/0.4741, allocations: 388.9 kB / 0.6711 GB, free: 4.887 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.4746, allocations: 0.8128 MB / 0.6719 GB, free: 4.051 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4746, allocations: 4 kB / 0.6719 GB, free: 4.047 MB / 490.7 MB Notification: Performance of Templates: time 0.007354/0.4819, allocations: 3.538 MB / 0.6753 GB, free: 0.5625 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)