Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 192.4 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4457/0.4457, allocations: 90.84 MB / 99.06 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.229/1.229, allocations: 221.4 MB / 342.8 MB, free: 5.211 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.0009494/0.0009491, allocations: 96.69 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.205e-06/8.225e-06, allocations: 0 / 493.9 MB, free: 8.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3257, allocations: 72.31 MB / 0.5529 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.4469, allocations: 105.6 MB / 0.656 GB, free: 4.469 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.4472, allocations: 79.95 kB / 0.6561 GB, free: 4.391 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.0279/0.4751, allocations: 10.17 MB / 0.666 GB, free: 10.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.4752, allocations: 4 kB / 0.666 GB, free: 10.31 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007075/0.4759, allocations: 0.522 MB / 0.6665 GB, free: 9.742 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.476, allocations: 8.031 kB / 0.6665 GB, free: 9.734 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.4761, allocations: 35.61 kB / 0.6665 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.4765, allocations: 281.6 kB / 0.6668 GB, free: 9.387 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.4765, allocations: 4 kB / 0.6668 GB, free: 9.383 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.4766, allocations: 15.91 kB / 0.6668 GB, free: 9.367 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008859/0.4775, allocations: 0.7397 MB / 0.6676 GB, free: 8.629 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.4778, allocations: 201.9 kB / 0.6678 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4778, allocations: 4 kB / 0.6678 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.4778, allocations: 0 / 0.6678 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.4779, allocations: 4 kB / 0.6678 GB, free: 8.406 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008817/0.4787, allocations: 0.5788 MB / 0.6683 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.4792, allocations: 273.5 kB / 0.6686 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.4793, allocations: 105.4 kB / 0.6687 GB, free: 7.406 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.4794, allocations: 20.25 kB / 0.6687 GB, free: 7.387 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.4796, allocations: 163.5 kB / 0.6689 GB, free: 7.215 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.4796, allocations: 0 / 0.6689 GB, free: 7.215 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004652/0.4801, allocations: 258.4 kB / 0.6691 GB, free: 6.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.4801, allocations: 132.5 kB / 0.6692 GB, free: 6.797 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.4804, allocations: 264.1 kB / 0.6695 GB, free: 6.531 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.4805, allocations: 29.7 kB / 0.6695 GB, free: 6.496 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.4806, allocations: 108.6 kB / 0.6696 GB, free: 6.387 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.4806, allocations: 110.4 kB / 0.6697 GB, free: 6.277 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.4807, allocations: 0 / 0.6697 GB, free: 6.277 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4808, allocations: 338.8 kB / 0.67 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.4809, allocations: 75.84 kB / 0.6701 GB, free: 5.863 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.4811, allocations: 119.5 kB / 0.6702 GB, free: 5.734 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.4812, allocations: 103.9 kB / 0.6703 GB, free: 5.633 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4812, allocations: 0 / 0.6703 GB, free: 5.633 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004018/0.4816, allocations: 269.4 kB / 0.6706 GB, free: 5.363 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4817, allocations: 9.875 kB / 0.6706 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4817, allocations: 1.875 kB / 0.6706 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4817, allocations: 0 / 0.6706 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.4819, allocations: 63.91 kB / 0.6707 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.4819, allocations: 4 kB / 0.6707 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.4821, allocations: 31.67 kB / 0.6707 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.4821, allocations: 11.98 kB / 0.6707 GB, free: 5.246 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 (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 9.219e-05/0.4822, allocations: 114.8 kB / 0.6708 GB, free: 5.129 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.4823, allocations: 27.62 kB / 0.6708 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006614/0.483, allocations: 379.9 kB / 0.6712 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.483, allocations: 4 kB / 0.6712 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.483, allocations: 0 / 0.6712 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.483, allocations: 0 / 0.6712 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.4833, allocations: 313.8 kB / 0.6715 GB, free: 4.398 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4833, allocations: 3.375 kB / 0.6715 GB, free: 4.398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.4835, allocations: 59.91 kB / 0.6716 GB, free: 4.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.4835, allocations: 0 / 0.6716 GB, free: 4.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.4835, allocations: 15.92 kB / 0.6716 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4835, allocations: 4 kB / 0.6716 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4835, allocations: 0 / 0.6716 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004106/0.4839, allocations: 298.4 kB / 0.6719 GB, free: 4.012 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.4841, allocations: 162.4 kB / 0.672 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.4842, allocations: 7.906 kB / 0.672 GB, free: 3.828 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.4844, allocations: 23.97 kB / 0.6721 GB, free: 3.805 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.4844, allocations: 19.97 kB / 0.6721 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.4845, allocations: 19.98 kB / 0.6721 GB, free: 3.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001804/0.4847, allocations: 216.5 kB / 0.6723 GB, free: 3.555 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.485, allocations: 63.94 kB / 0.6724 GB, free: 3.492 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 (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.00064/0.4856, allocations: 314.3 kB / 0.6727 GB, free: 3.312 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.486, allocations: 219.9 kB / 0.6729 GB, free: 3.098 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.486, allocations: 4 kB / 0.6729 GB, free: 3.094 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.4862, allocations: 123.8 kB / 0.673 GB, free: 2.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.4864, allocations: 32.28 kB / 0.673 GB, free: 2.945 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007397/0.4872, allocations: 416.7 kB / 0.6734 GB, free: 2.516 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.4876, allocations: 0.8233 MB / 0.6742 GB, free: 1.664 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4876, allocations: 3.938 kB / 0.6742 GB, free: 1.66 MB / 490.7 MB Notification: Performance of Templates: time 0.007595/0.4952, allocations: 3.884 MB / 0.678 GB, free: 13.84 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)