Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [: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 8.0.1-maint.8.0.x/package.mo): time 1.324/1.324, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000934/0.000934, allocations: 177.3 kB / 361.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007903/0.0007902, allocations: 96.09 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1737/0.1745, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.581, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.7148, allocations: 141.6 MB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.715, allocations: 81.55 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB 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.02651/0.7416, allocations: 10.46 MB / 1.112 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/0.7416, allocations: 8.5 kB / 1.112 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.7418, allocations: 31.62 kB / 1.112 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.7423, allocations: 277.6 kB / 1.113 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.7423, allocations: 4 kB / 1.113 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.7423, allocations: 12 kB / 1.113 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009166/0.7432, allocations: 0.7334 MB / 1.113 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.7436, allocations: 211.7 kB / 1.114 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.7436, allocations: 7.922 kB / 1.114 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.7436, allocations: 0 / 1.114 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.7436, allocations: 11.91 kB / 1.114 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.7445, allocations: 0.5635 MB / 1.114 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.7449, allocations: 281.5 kB / 1.114 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.7451, allocations: 101.4 kB / 1.114 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.7451, allocations: 16.25 kB / 1.114 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.7454, allocations: 162.9 kB / 1.115 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 1.714e-06/0.7454, allocations: 0 / 1.115 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.0004822/0.7459, allocations: 265 kB / 1.115 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.746, allocations: 136.4 kB / 1.115 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.7462, allocations: 260 kB / 1.115 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.7463, allocations: 37.7 kB / 1.115 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.7463, allocations: 108.6 kB / 1.115 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.7464, allocations: 106.4 kB / 1.115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.7464, allocations: 0 / 1.115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.7465, allocations: 334.8 kB / 1.116 GB, free: 260 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.7467, allocations: 71.98 kB / 1.116 GB, free: 188 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.7468, allocations: 121.6 kB / 1.116 GB, free: 56 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.747, allocations: 103.8 kB / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.747, allocations: 0 / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003825/0.7474, allocations: 261.9 kB / 1.116 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.7474, allocations: 4 kB / 1.116 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7474, allocations: 3.906 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.7474, allocations: 3.984 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.7476, allocations: 67.09 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.7477, allocations: 4 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.7478, allocations: 23.78 kB / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.7478, allocations: 19.98 kB / 1.116 GB, free: 15.57 MB / 0.7292 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 (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.376e-05/0.7479, allocations: 108.8 kB / 1.117 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.748, allocations: 31.66 kB / 1.117 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.7487, allocations: 376.7 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.7487, allocations: 4 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7487, allocations: 3.906 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7487, allocations: 4 kB / 1.117 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.749, allocations: 309.8 kB / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.749, allocations: 0 / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.7492, allocations: 63.91 kB / 1.117 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.7492, allocations: 0 / 1.117 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.7492, allocations: 7.906 kB / 1.117 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.7492, allocations: 4 kB / 1.117 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7492, allocations: 0 / 1.117 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004151/0.7496, allocations: 311.9 kB / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005228/0.7502, allocations: 0.6702 MB / 1.118 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.7503, allocations: 164.6 kB / 1.118 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.7504, allocations: 0 / 1.118 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.7506, allocations: 27.97 kB / 1.118 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.7506, allocations: 23.97 kB / 1.118 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.7507, allocations: 11.98 kB / 1.119 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001867/0.7509, allocations: 220.5 kB / 1.119 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008327/0.7517, allocations: 67.84 kB / 1.119 GB, free: 13.1 MB / 0.7292 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 (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.0006289/0.7523, allocations: 326.6 kB / 1.119 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.7527, allocations: 211.7 kB / 1.119 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7527, allocations: 4 kB / 1.119 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.7528, allocations: 125 kB / 1.119 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.7531, allocations: 25.64 kB / 1.119 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.7538, allocations: 410 kB / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.7542, allocations: 0.8283 MB / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.7543, allocations: 0 / 1.121 GB, free: 11.27 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)