Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.377/2.377, allocations: 248.6 MB / 255.9 MB, free: 7.086 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.001738/0.001738, allocations: 190.8 kB / 315.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.1 MB / 0.5658 GB, free: 352 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0013/0.001299, allocations: 97.06 kB / 0.67 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5208/0.5221, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.7957, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7467/1.542, allocations: 134.9 MB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/1.543, allocations: 86.88 kB / 1.015 GB, free: 5.254 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.05191/1.595, allocations: 9.52 MB / 1.025 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.137e-05/1.595, allocations: 8 kB / 1.025 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/1.595, allocations: 23.72 kB / 1.025 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008364/1.596, allocations: 274.1 kB / 1.025 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/1.596, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/1.596, allocations: 11.98 kB / 1.025 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002453/1.599, allocations: 0.7312 MB / 1.026 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007951/1.6, allocations: 189.3 kB / 1.026 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/1.6, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.181e-05/1.6, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/1.6, allocations: 4 kB / 1.026 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/1.602, allocations: 0.5234 MB / 1.026 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/1.603, allocations: 284.9 kB / 1.027 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/1.603, allocations: 92.97 kB / 1.027 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/1.604, allocations: 19.5 kB / 1.027 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005353/1.604, allocations: 158 kB / 1.027 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 5.491e-06/1.604, allocations: 4 kB / 1.027 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.001241/1.605, allocations: 265.2 kB / 1.027 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.606, allocations: 132.5 kB / 1.027 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/1.607, allocations: 254.3 kB / 1.027 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/1.607, allocations: 25.7 kB / 1.027 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/1.607, allocations: 99.53 kB / 1.028 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/1.607, allocations: 112.4 kB / 1.028 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/1.608, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003308/1.608, allocations: 340.7 kB / 1.028 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/1.608, allocations: 71.86 kB / 1.028 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/1.609, allocations: 124.5 kB / 1.028 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/1.609, allocations: 97.44 kB / 1.028 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.609, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007755/1.61, allocations: 263.7 kB / 1.029 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.61, allocations: 7.938 kB / 1.029 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.61, allocations: 4 kB / 1.029 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.61, allocations: 0 / 1.029 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/1.611, allocations: 63.28 kB / 1.029 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.611, allocations: 4 kB / 1.029 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/1.611, allocations: 19.83 kB / 1.029 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/1.611, allocations: 11.81 kB / 1.029 GB, free: 9.715 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 (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 0.0001576/1.611, allocations: 116.8 kB / 1.029 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/1.611, allocations: 27.72 kB / 1.029 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/1.613, allocations: 373.9 kB / 1.029 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.613, allocations: 4 kB / 1.029 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.613, allocations: 0 / 1.029 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/1.613, allocations: 7.906 kB / 1.029 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007944/1.614, allocations: 290.4 kB / 1.029 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.614, allocations: 4 kB / 1.029 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/1.614, allocations: 59.91 kB / 1.029 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/1.614, allocations: 0 / 1.029 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/1.614, allocations: 15.23 kB / 1.029 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/1.614, allocations: 4 kB / 1.029 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.614, allocations: 7.844 kB / 1.03 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008445/1.615, allocations: 294.1 kB / 1.03 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001487/1.617, allocations: 0.6764 MB / 1.03 GB, free: 8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/1.617, allocations: 153.5 kB / 1.031 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/1.617, allocations: 7.359 kB / 1.031 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/1.617, allocations: 8 kB / 1.031 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/1.617, allocations: 19.95 kB / 1.031 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/1.618, allocations: 19.34 kB / 1.031 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003402/1.618, allocations: 213.5 kB / 1.031 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001388/1.619, allocations: 63.94 kB / 1.031 GB, free: 7.582 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 (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.001497/1.621, allocations: 315 kB / 1.031 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007547/1.622, allocations: 211.1 kB / 1.031 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.622, allocations: 0 / 1.031 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/1.622, allocations: 122.4 kB / 1.032 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/1.622, allocations: 19.66 kB / 1.032 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/1.625, allocations: 404.8 kB / 1.032 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.626, allocations: 0.8126 MB / 1.033 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of SimCode: time 6.372e-06/1.626, allocations: 4 kB / 1.033 GB, free: 5.883 MB / 0.6511 GB