Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009533/0.0009534, allocations: 188.5 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007983/0.0007984, allocations: 90.28 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3466/0.3474, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.5181, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5129/1.031, allocations: 136.3 MB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/1.031, allocations: 88.78 kB / 1.018 GB, free: 2.199 MB / 0.6355 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.02729/1.059, allocations: 10.44 MB / 1.028 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/1.059, allocations: 8 kB / 1.028 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/1.059, allocations: 35.61 kB / 1.028 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/1.059, allocations: 276.8 kB / 1.028 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.059, allocations: 7.906 kB / 1.028 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/1.059, allocations: 11.06 kB / 1.028 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008235/1.06, allocations: 0.7387 MB / 1.029 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/1.06, allocations: 205.9 kB / 1.029 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/1.06, allocations: 0 / 1.029 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/1.06, allocations: 0 / 1.029 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/1.06, allocations: 8 kB / 1.029 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007856/1.061, allocations: 0.5605 MB / 1.03 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/1.062, allocations: 281 kB / 1.03 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/1.062, allocations: 108.9 kB / 1.03 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/1.062, allocations: 20.19 kB / 1.03 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/1.062, allocations: 165.7 kB / 1.03 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/1.062, allocations: 0 / 1.03 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.0004332/1.062, allocations: 268.1 kB / 1.031 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/1.063, allocations: 132.5 kB / 1.031 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/1.063, allocations: 264 kB / 1.031 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/1.063, allocations: 25.7 kB / 1.031 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/1.063, allocations: 109.8 kB / 1.031 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/1.063, allocations: 115.2 kB / 1.031 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/1.063, allocations: 4 kB / 1.031 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.063, allocations: 336.2 kB / 1.032 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/1.063, allocations: 73.67 kB / 1.032 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/1.063, allocations: 115.4 kB / 1.032 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/1.064, allocations: 105.4 kB / 1.032 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.064, allocations: 0 / 1.032 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003718/1.064, allocations: 266.1 kB / 1.032 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.064, allocations: 4 kB / 1.032 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/1.064, allocations: 0 / 1.032 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-06/1.064, allocations: 4 kB / 1.032 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/1.064, allocations: 63.09 kB / 1.032 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/1.064, allocations: 0 / 1.032 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/1.064, allocations: 31.67 kB / 1.032 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/1.064, allocations: 19.23 kB / 1.032 GB, free: 5.785 MB / 0.6511 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.962e-05/1.065, allocations: 112.9 kB / 1.032 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/1.065, allocations: 27.62 kB / 1.032 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006488/1.065, allocations: 379.2 kB / 1.033 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.065, allocations: 4 kB / 1.033 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.065, allocations: 0 / 1.033 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.065, allocations: 0 / 1.033 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/1.066, allocations: 311.1 kB / 1.033 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.066, allocations: 0 / 1.033 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/1.066, allocations: 55.91 kB / 1.033 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/1.066, allocations: 8 kB / 1.033 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/1.066, allocations: 10.92 kB / 1.033 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.066, allocations: 0 / 1.033 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.066, allocations: 0 / 1.033 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000392/1.066, allocations: 311.5 kB / 1.033 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005018/1.067, allocations: 0.6799 MB / 1.034 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/1.067, allocations: 157.5 kB / 1.034 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/1.067, allocations: 3.906 kB / 1.034 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/1.067, allocations: 23.98 kB / 1.034 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/1.067, allocations: 23.95 kB / 1.034 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/1.067, allocations: 14.75 kB / 1.034 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001688/1.067, allocations: 214.6 kB / 1.035 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008528/1.068, allocations: 78.67 kB / 1.035 GB, free: 3.609 MB / 0.6511 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.0006857/1.069, allocations: 311.1 kB / 1.035 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003418/1.069, allocations: 217.5 kB / 1.035 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.069, allocations: 4 kB / 1.035 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/1.069, allocations: 126.1 kB / 1.035 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/1.07, allocations: 30.83 kB / 1.035 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/1.071, allocations: 413.7 kB / 1.036 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/1.071, allocations: 0.8167 MB / 1.036 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.071, allocations: 3.938 kB / 1.036 GB, free: 1.883 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)