Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.303/1.303, 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.0009396/0.0009397, allocations: 183.5 kB / 361.1 MB, free: 7.121 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.017/1.017, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007491/0.0007489, allocations: 96.55 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1792/0.18, allocations: 121.4 MB / 0.8512 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.5947, allocations: 115.3 MB / 0.9638 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.7264, allocations: 140.3 MB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.7266, allocations: 85.27 kB / 1.101 GB, free: 15.6 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.02267/0.7493, allocations: 9.519 MB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.7494, allocations: 8 kB / 1.11 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.7494, allocations: 28.59 kB / 1.11 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.7498, allocations: 270.5 kB / 1.11 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.7498, allocations: 8 kB / 1.11 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.7498, allocations: 8 kB / 1.11 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008037/0.7506, allocations: 0.7256 MB / 1.111 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.7509, allocations: 184.3 kB / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.7509, allocations: 7.922 kB / 1.111 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.7509, allocations: 0 / 1.111 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.7509, allocations: 5.781 kB / 1.111 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.7516, allocations: 0.5361 MB / 1.112 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.752, allocations: 276.2 kB / 1.112 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.7522, allocations: 93.39 kB / 1.112 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.7522, allocations: 16.25 kB / 1.112 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.7524, allocations: 161.9 kB / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.7524, allocations: 0 / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34): time 0.0004059/0.7528, allocations: 261.1 kB / 1.113 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.7529, allocations: 132.5 kB / 1.113 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.7531, allocations: 258.9 kB / 1.113 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.7531, allocations: 25.7 kB / 1.113 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.7532, allocations: 104.8 kB / 1.113 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.7533, allocations: 102.4 kB / 1.113 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.7533, allocations: 4 kB / 1.113 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.7534, allocations: 342.7 kB / 1.114 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.7535, allocations: 71.98 kB / 1.114 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.7536, allocations: 119.4 kB / 1.114 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.7538, allocations: 99.94 kB / 1.114 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7538, allocations: 0 / 1.114 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003766/0.7542, allocations: 262.7 kB / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.7542, allocations: 7.984 kB / 1.114 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7542, allocations: 0 / 1.114 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.7542, allocations: 1.938 kB / 1.114 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.7544, allocations: 63.91 kB / 1.114 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.7545, allocations: 4 kB / 1.114 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.7546, allocations: 23.73 kB / 1.114 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.7546, allocations: 8 kB / 1.114 GB, free: 1.809 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 (35): * Single equations (assignments): 35 * 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.222e-05/0.7547, allocations: 116.9 kB / 1.114 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.7548, allocations: 27.62 kB / 1.114 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006361/0.7554, allocations: 370.5 kB / 1.115 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.7554, allocations: 4 kB / 1.115 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7554, allocations: 0 / 1.115 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.7554, allocations: 3.984 kB / 1.115 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.7557, allocations: 297.8 kB / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.7557, allocations: 3.938 kB / 1.115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.7559, allocations: 63.91 kB / 1.115 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.7559, allocations: 0.75 kB / 1.115 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.7559, allocations: 8 kB / 1.115 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.7559, allocations: 5.75 kB / 1.115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.756, allocations: 0 / 1.115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003826/0.7563, allocations: 302.4 kB / 1.115 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004908/0.7568, allocations: 0.6705 MB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.757, allocations: 156.5 kB / 1.116 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.757, allocations: 4 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.7572, allocations: 12.64 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.7572, allocations: 19.97 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.7573, allocations: 15.98 kB / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001566/0.7574, allocations: 209.6 kB / 1.116 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008151/0.7583, allocations: 71.89 kB / 1.117 GB, free: 15.39 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 (34): * Single equations (assignments): 33 * 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.000544/0.7588, allocations: 316.4 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.7591, allocations: 212.7 kB / 1.117 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7591, allocations: 0 / 1.117 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.7593, allocations: 123.8 kB / 1.117 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.7595, allocations: 20.67 kB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.7601, allocations: 401.6 kB / 1.118 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/0.7605, allocations: 0.8175 MB / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.7605, allocations: 1.219 kB / 1.118 GB, free: 13.59 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)