Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Comfort_Examples_Fanger",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.406/2.406, allocations: 248.6 MB / 255.9 MB, free: 1.578 MB / 195.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001643, allocations: 186.4 kB / 315.1 MB, free: 10.02 MB / 259.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.1 MB / 0.5658 GB, free: 14.45 MB / 435.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002926/0.002925, allocations: 91.77 kB / 0.67 GB, free: 52.5 MB / 499.1 MB Notification: Performance of FrontEnd - loaded program: time 0.3017/0.3046, allocations: 112.4 MB / 0.7797 GB, free: 11.04 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.5604, allocations: 106.3 MB / 0.8835 GB, free: 0.6758 MB / 0.6437 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.133/6.693, allocations: 2.189 GB / 3.073 GB, free: 154.4 MB / 0.878 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/6.694, allocations: 82.89 kB / 3.073 GB, free: 154.4 MB / 0.878 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.1881/6.882, allocations: 51.48 MB / 3.123 GB, free: 111.7 MB / 0.878 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/6.882, allocations: 8 kB / 3.123 GB, free: 111.7 MB / 0.878 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006606/6.889, allocations: 265.1 kB / 3.123 GB, free: 111.4 MB / 0.878 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/6.889, allocations: 305.7 kB / 3.123 GB, free: 111.1 MB / 0.878 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/6.889, allocations: 8 kB / 3.123 GB, free: 111.1 MB / 0.878 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/6.89, allocations: 16 kB / 3.123 GB, free: 111.1 MB / 0.878 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001233/6.891, allocations: 385.1 kB / 3.124 GB, free: 110.7 MB / 0.878 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008446/6.892, allocations: 316.6 kB / 3.124 GB, free: 110.4 MB / 0.878 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/6.892, allocations: 0 / 3.124 GB, free: 110.4 MB / 0.878 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/6.892, allocations: 3.906 kB / 3.124 GB, free: 110.4 MB / 0.878 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/6.892, allocations: 4 kB / 3.124 GB, free: 110.4 MB / 0.878 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006261/6.898, allocations: 1.081 MB / 3.125 GB, free: 109.2 MB / 0.878 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/6.899, allocations: 306.6 kB / 3.125 GB, free: 108.9 MB / 0.878 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/6.9, allocations: 160.5 kB / 3.126 GB, free: 108.8 MB / 0.878 GB Notification: Performance of preOpt evalFunc (simulation): time 6.524e-05/6.9, allocations: 8 kB / 3.126 GB, free: 108.8 MB / 0.878 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/6.9, allocations: 30.56 kB / 3.126 GB, free: 108.7 MB / 0.878 GB Notification: Performance of pre-optimization done (n=25): time 3.266e-06/6.9, allocations: 0 / 3.126 GB, free: 108.7 MB / 0.878 GB Notification: Performance of matching and sorting (n=25): time 0.01121/6.911, allocations: 0.6828 MB / 3.126 GB, free: 108 MB / 0.878 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/6.911, allocations: 51.41 kB / 3.126 GB, free: 108 MB / 0.878 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/6.912, allocations: 175.9 kB / 3.127 GB, free: 107.8 MB / 0.878 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/6.912, allocations: 25.7 kB / 3.127 GB, free: 107.8 MB / 0.878 GB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/6.912, allocations: 171.9 kB / 3.127 GB, free: 107.6 MB / 0.878 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/6.912, allocations: 82.69 kB / 3.127 GB, free: 107.5 MB / 0.878 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/6.912, allocations: 0 / 3.127 GB, free: 107.5 MB / 0.878 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/6.912, allocations: 334.8 kB / 3.127 GB, free: 107.2 MB / 0.878 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/6.912, allocations: 124.5 kB / 3.127 GB, free: 107.1 MB / 0.878 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/6.913, allocations: 178.8 kB / 3.127 GB, free: 106.9 MB / 0.878 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007823/6.914, allocations: 160.9 kB / 3.128 GB, free: 106.7 MB / 0.878 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/6.914, allocations: 1.781 kB / 3.128 GB, free: 106.7 MB / 0.878 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.01119/6.925, allocations: 0.7133 MB / 3.128 GB, free: 106 MB / 0.878 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/6.925, allocations: 8 kB / 3.128 GB, free: 106 MB / 0.878 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/6.925, allocations: 0 / 3.128 GB, free: 106 MB / 0.878 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/6.926, allocations: 173.5 kB / 3.128 GB, free: 105.8 MB / 0.878 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/6.927, allocations: 67.89 kB / 3.129 GB, free: 105.7 MB / 0.878 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/6.942, allocations: 3.213 MB / 3.132 GB, free: 102.3 MB / 0.878 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/6.944, allocations: 63.8 kB / 3.132 GB, free: 102.2 MB / 0.878 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.562e-05/6.944, allocations: 19.97 kB / 3.132 GB, free: 102.2 MB / 0.878 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001897/6.944, allocations: 112.8 kB / 3.132 GB, free: 102.1 MB / 0.878 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/6.944, allocations: 23.72 kB / 3.132 GB, free: 102.1 MB / 0.878 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/6.956, allocations: 0.7588 MB / 3.133 GB, free: 101.3 MB / 0.878 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/6.956, allocations: 4 kB / 3.133 GB, free: 101.3 MB / 0.878 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/6.956, allocations: 0 / 3.133 GB, free: 101.3 MB / 0.878 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/6.956, allocations: 3.984 kB / 3.133 GB, free: 101.3 MB / 0.878 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/6.968, allocations: 1.113 MB / 3.134 GB, free: 100.1 MB / 0.878 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/6.968, allocations: 3.969 kB / 3.134 GB, free: 100.1 MB / 0.878 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008298/6.968, allocations: 59.89 kB / 3.134 GB, free: 100.1 MB / 0.878 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/6.97, allocations: 181.5 kB / 3.134 GB, free: 99.88 MB / 0.878 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/6.97, allocations: 7.969 kB / 3.134 GB, free: 99.87 MB / 0.878 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/6.984, allocations: 3.207 MB / 3.137 GB, free: 96.43 MB / 0.878 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/6.984, allocations: 0 / 3.137 GB, free: 96.43 MB / 0.878 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01105/6.995, allocations: 0.7995 MB / 3.138 GB, free: 95.59 MB / 0.878 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01127/7.006, allocations: 1.189 MB / 3.139 GB, free: 94.36 MB / 0.878 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/7.007, allocations: 108.8 kB / 3.139 GB, free: 94.23 MB / 0.878 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/7.007, allocations: 0 / 3.139 GB, free: 94.23 MB / 0.878 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/7.008, allocations: 51.89 kB / 3.139 GB, free: 94.18 MB / 0.878 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/7.009, allocations: 19.83 kB / 3.139 GB, free: 94.16 MB / 0.878 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/7.009, allocations: 19.97 kB / 3.139 GB, free: 94.14 MB / 0.878 GB Notification: Performance of sort global known variables: time 0.0001967/7.009, allocations: 152.5 kB / 3.139 GB, free: 94 MB / 0.878 GB Notification: Performance of remove unused functions: time 0.002108/7.011, allocations: 203.8 kB / 3.14 GB, free: 93.8 MB / 0.878 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001138/7.012, allocations: 0.7069 MB / 3.14 GB, free: 93.09 MB / 0.878 GB Notification: Performance of simCode: created initialization part: time 0.001909/7.014, allocations: 0.5385 MB / 3.141 GB, free: 92.53 MB / 0.878 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/7.014, allocations: 0 / 3.141 GB, free: 92.53 MB / 0.878 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/7.015, allocations: 411.4 kB / 3.141 GB, free: 92.11 MB / 0.878 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007319/7.016, allocations: 56.95 kB / 3.141 GB, free: 92.05 MB / 0.878 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/7.021, allocations: 0.5448 MB / 3.142 GB, free: 91.47 MB / 0.878 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/7.021, allocations: 0.8188 MB / 3.143 GB, free: 90.62 MB / 0.878 GB Notification: Performance of SimCode: time 9.22e-07/7.021, allocations: 0 / 3.143 GB, free: 90.62 MB / 0.878 GB