Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.394/1.394, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001032/0.001032, allocations: 187.8 kB / 366.3 MB, free: 2.012 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.09/1.09, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0008057/0.0008055, allocations: 94.36 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2172/0.218, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.6822, allocations: 116.3 MB / 0.9727 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.8342, allocations: 142.5 MB / 1.112 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.8345, allocations: 91.88 kB / 1.112 GB, free: 5.887 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.02637/0.8609, allocations: 10.44 MB / 1.122 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.861, allocations: 8 kB / 1.122 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.8611, allocations: 31.62 kB / 1.122 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.8615, allocations: 273.6 kB / 1.122 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.8615, allocations: 8 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.8615, allocations: 19.94 kB / 1.122 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008765/0.8624, allocations: 0.7371 MB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.8627, allocations: 201 kB / 1.123 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8627, allocations: 0 / 1.123 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.8628, allocations: 3.984 kB / 1.123 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.8628, allocations: 7.906 kB / 1.123 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.8636, allocations: 0.571 MB / 1.124 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.864, allocations: 289.4 kB / 1.124 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.8642, allocations: 93.41 kB / 1.124 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.8642, allocations: 24.25 kB / 1.124 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.8644, allocations: 167.3 kB / 1.124 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.8644, allocations: 0 / 1.124 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.0004457/0.8649, allocations: 253.2 kB / 1.125 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.865, allocations: 145.5 kB / 1.125 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.8652, allocations: 256.1 kB / 1.125 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.8653, allocations: 29.7 kB / 1.125 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.8653, allocations: 116.6 kB / 1.125 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.8654, allocations: 102.4 kB / 1.125 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.8654, allocations: 0 / 1.125 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.8655, allocations: 338.8 kB / 1.126 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.8657, allocations: 79.91 kB / 1.126 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.8658, allocations: 111.4 kB / 1.126 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.866, allocations: 104.5 kB / 1.126 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.866, allocations: 4 kB / 1.126 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003932/0.8664, allocations: 257.8 kB / 1.126 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8664, allocations: 11.98 kB / 1.126 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.8664, allocations: 3.906 kB / 1.126 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.8664, allocations: 0 / 1.126 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.8666, allocations: 59.91 kB / 1.126 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.8667, allocations: 4 kB / 1.126 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.8668, allocations: 27.77 kB / 1.126 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.8668, allocations: 13.78 kB / 1.126 GB, free: 6.934 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 8.28e-05/0.8669, allocations: 112.8 kB / 1.126 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.867, allocations: 27.72 kB / 1.126 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006378/0.8676, allocations: 380.7 kB / 1.127 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.8676, allocations: 4 kB / 1.127 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8677, allocations: 7.844 kB / 1.127 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8677, allocations: 3.984 kB / 1.127 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.8679, allocations: 305.8 kB / 1.127 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.868, allocations: 4 kB / 1.127 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.8681, allocations: 59.91 kB / 1.127 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8681, allocations: 0 / 1.127 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.8682, allocations: 11.91 kB / 1.127 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.8682, allocations: 4 kB / 1.127 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8682, allocations: 0 / 1.127 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004126/0.8686, allocations: 305.8 kB / 1.127 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004907/0.8691, allocations: 0.6781 MB / 1.128 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.8693, allocations: 156.6 kB / 1.128 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.8693, allocations: 8 kB / 1.128 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.8695, allocations: 27.97 kB / 1.128 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.8696, allocations: 25.38 kB / 1.128 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.8696, allocations: 15.98 kB / 1.128 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001811/0.8698, allocations: 216.5 kB / 1.129 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009133/0.8707, allocations: 71.84 kB / 1.129 GB, free: 4.461 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.0007064/0.8714, allocations: 321.5 kB / 1.129 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.8718, allocations: 211.7 kB / 1.129 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8718, allocations: 0 / 1.129 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.8719, allocations: 127.8 kB / 1.129 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.8722, allocations: 25.36 kB / 1.129 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.873, allocations: 408.9 kB / 1.13 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/0.8735, allocations: 0.8275 MB / 1.13 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/0.8735, allocations: 0 / 1.13 GB, free: 2.574 MB / 0.7292 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)