Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.199/2.199, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001499/0.001499, allocations: 177.3 kB / 360.3 MB, free: 7.57 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.628/1.628, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001155/0.001155, allocations: 92.69 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2422/0.2434, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.7831, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/0.9937, allocations: 141.4 MB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.9941, allocations: 85.12 kB / 1.101 GB, free: 15.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.04557/1.04, allocations: 10.45 MB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.04, allocations: 12.5 kB / 1.111 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/1.04, allocations: 31.62 kB / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/1.04, allocations: 273.6 kB / 1.111 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.041, allocations: 4 kB / 1.111 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/1.041, allocations: 15.94 kB / 1.111 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001532/1.042, allocations: 0.7344 MB / 1.112 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/1.043, allocations: 209.8 kB / 1.112 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.043, allocations: 4 kB / 1.112 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/1.043, allocations: 0 / 1.112 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/1.043, allocations: 15.88 kB / 1.112 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/1.044, allocations: 0.5658 MB / 1.113 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/1.045, allocations: 289.4 kB / 1.113 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/1.045, allocations: 93.41 kB / 1.113 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.218e-05/1.045, allocations: 20.25 kB / 1.113 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003889/1.046, allocations: 159.6 kB / 1.113 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 2.185e-06/1.046, allocations: 0 / 1.113 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.0008169/1.047, allocations: 256.1 kB / 1.114 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/1.047, allocations: 136.4 kB / 1.114 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/1.047, allocations: 268.1 kB / 1.114 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/1.047, allocations: 31.86 kB / 1.114 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/1.047, allocations: 112.6 kB / 1.114 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/1.047, allocations: 102.4 kB / 1.114 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/1.047, allocations: 0 / 1.114 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.048, allocations: 338.8 kB / 1.115 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/1.048, allocations: 79.91 kB / 1.115 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/1.048, allocations: 119.6 kB / 1.115 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/1.049, allocations: 99.8 kB / 1.115 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.049, allocations: 0 / 1.115 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007394/1.049, allocations: 257.8 kB / 1.115 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.049, allocations: 8 kB / 1.115 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.049, allocations: 7.891 kB / 1.115 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.049, allocations: 0 / 1.115 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/1.05, allocations: 59.91 kB / 1.115 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-06/1.05, allocations: 4 kB / 1.115 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/1.05, allocations: 23.78 kB / 1.115 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/1.05, allocations: 15.98 kB / 1.115 GB, free: 0.5625 MB / 0.7136 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 0.0001354/1.05, allocations: 113.7 kB / 1.115 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/1.05, allocations: 27.72 kB / 1.115 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/1.052, allocations: 379.6 kB / 1.116 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/1.052, allocations: 4 kB / 1.116 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.052, allocations: 11.84 kB / 1.116 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.052, allocations: 3.984 kB / 1.116 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/1.052, allocations: 308.2 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/1.052, allocations: 0 / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/1.053, allocations: 66.22 kB / 1.116 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/1.053, allocations: 0 / 1.116 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/1.053, allocations: 7.906 kB / 1.116 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/1.053, allocations: 4 kB / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.053, allocations: 0 / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007747/1.054, allocations: 309.7 kB / 1.116 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009231/1.055, allocations: 0.6745 MB / 1.117 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/1.055, allocations: 156.6 kB / 1.117 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/1.055, allocations: 4 kB / 1.117 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/1.055, allocations: 27.97 kB / 1.117 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/1.055, allocations: 23.97 kB / 1.117 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/1.055, allocations: 15.98 kB / 1.117 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003519/1.056, allocations: 216.5 kB / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001347/1.057, allocations: 67.84 kB / 1.118 GB, free: 14.09 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.0008667/1.058, allocations: 312.5 kB / 1.118 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000604/1.059, allocations: 219.7 kB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.059, allocations: 0 / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/1.059, allocations: 129.4 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/1.059, allocations: 24.42 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/1.061, allocations: 409.7 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/1.061, allocations: 0.8278 MB / 1.119 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/1.061, allocations: 0 / 1.119 GB, free: 12.27 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)