Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.5013/0.5013, allocations: 94.74 MB / 102 MB, free: 10.4 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001063/0.001063, allocations: 188.8 kB / 125.3 MB, free: 12.02 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.191/1.191, allocations: 170.5 MB / 319 MB, free: 9.371 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001724/0.001724, allocations: 114 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.115e-06, allocations: 4 kB / 448.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 61.51 MB / 0.4981 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.4988, allocations: 95.64 MB / 0.5915 GB, free: 6.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.4991, allocations: 82.61 kB / 0.5916 GB, free: 6.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01939/0.5185, allocations: 6.943 MB / 0.5984 GB, free: 15.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.5186, allocations: 4 kB / 0.5984 GB, free: 15.93 MB / 426.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.0007624/0.5194, allocations: 0.5443 MB / 0.5989 GB, free: 15.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5194, allocations: 8.031 kB / 0.5989 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.5196, allocations: 35.61 kB / 0.599 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.52, allocations: 268.1 kB / 0.5992 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.52, allocations: 11.94 kB / 0.5992 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.52, allocations: 11.98 kB / 0.5992 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00104/0.5211, allocations: 0.771 MB / 0.6 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.5214, allocations: 201.7 kB / 0.6002 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.5214, allocations: 0 / 0.6002 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.5215, allocations: 0 / 0.6002 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.5215, allocations: 4 kB / 0.6002 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.5225, allocations: 0.5907 MB / 0.6008 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.523, allocations: 308 kB / 0.6011 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.5231, allocations: 109.4 kB / 0.6012 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.5232, allocations: 24.91 kB / 0.6012 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.5235, allocations: 174.4 kB / 0.6014 GB, free: 12.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.5235, allocations: 0 / 0.6014 GB, free: 12.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005125/0.524, allocations: 283 kB / 0.6016 GB, free: 12.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.5241, allocations: 81.11 kB / 0.6017 GB, free: 12.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.5243, allocations: 247 kB / 0.6019 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.5244, allocations: 29.7 kB / 0.602 GB, free: 12.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.5245, allocations: 100.7 kB / 0.6021 GB, free: 11.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.5246, allocations: 119.4 kB / 0.6022 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.5246, allocations: 0 / 0.6022 GB, free: 11.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.5248, allocations: 338.7 kB / 0.6025 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.5249, allocations: 95.98 kB / 0.6026 GB, free: 11.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.5251, allocations: 117.7 kB / 0.6027 GB, free: 11.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.5253, allocations: 135.6 kB / 0.6028 GB, free: 11.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5253, allocations: 3.938 kB / 0.6028 GB, free: 11.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005125/0.5258, allocations: 328.8 kB / 0.6031 GB, free: 10.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5259, allocations: 4 kB / 0.6032 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5259, allocations: 0 / 0.6032 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5259, allocations: 4 kB / 0.6032 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.5261, allocations: 63.91 kB / 0.6032 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5261, allocations: 1.781 kB / 0.6032 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.837e-05/0.5262, allocations: 21.7 kB / 0.6032 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.5263, allocations: 17.56 kB / 0.6033 GB, free: 10.73 MB / 426.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.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 2 * 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.0001073/0.5264, allocations: 109.6 kB / 0.6034 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.5265, allocations: 23.72 kB / 0.6034 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007592/0.5272, allocations: 426.1 kB / 0.6038 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5272, allocations: 4 kB / 0.6038 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5272, allocations: 0 / 0.6038 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5273, allocations: 3.984 kB / 0.6038 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.5276, allocations: 297.8 kB / 0.6041 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5276, allocations: 7.906 kB / 0.6041 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.5278, allocations: 67.91 kB / 0.6042 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5278, allocations: 0 / 0.6042 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.5278, allocations: 7.984 kB / 0.6042 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5278, allocations: 4 kB / 0.6042 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5279, allocations: 0.9375 kB / 0.6042 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004675/0.5283, allocations: 321.9 kB / 0.6045 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.5285, allocations: 160.6 kB / 0.6046 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.5286, allocations: 0 / 0.6046 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.5287, allocations: 21.02 kB / 0.6046 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.5288, allocations: 23.83 kB / 0.6047 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.5288, allocations: 19.98 kB / 0.6047 GB, free: 9.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001833/0.529, allocations: 200.5 kB / 0.6049 GB, free: 9.016 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003218/0.5293, allocations: 75.91 kB / 0.6049 GB, free: 8.941 MB / 426.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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0005539/0.5299, allocations: 236.5 kB / 0.6052 GB, free: 8.785 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004645/0.5304, allocations: 299 kB / 0.6055 GB, free: 8.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5304, allocations: 0 / 0.6055 GB, free: 8.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.5306, allocations: 135.7 kB / 0.6056 GB, free: 8.348 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.5308, allocations: 31.89 kB / 0.6056 GB, free: 8.316 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008238/0.5317, allocations: 403.6 kB / 0.606 GB, free: 7.898 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005071/0.5322, allocations: 0.8199 MB / 0.6068 GB, free: 7.051 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5322, allocations: 2.531 kB / 0.6068 GB, free: 7.051 MB / 426.7 MB Notification: Performance of Templates: time 0.007542/0.5397, allocations: 3.527 MB / 0.6103 GB, free: 3.652 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)