Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",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.245/2.245, allocations: 248.6 MB / 255.9 MB, free: 7.172 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.00166/0.00166, allocations: 190.8 kB / 315.1 MB, free: 4.273 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.003/2.003, allocations: 205.1 MB / 0.5658 GB, free: 356 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.00133/0.00133, allocations: 102.8 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.608/0.6094, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.8407, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7088/1.55, allocations: 132.4 MB / 1.013 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/1.55, allocations: 89 kB / 1.013 GB, free: 7.754 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.005489/1.555, allocations: 1.19 MB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.555, allocations: 12 kB / 1.014 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/1.555, allocations: 8.531 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/1.556, allocations: 170.9 kB / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/1.556, allocations: 4 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/1.556, allocations: 0 / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001083/1.556, allocations: 11.75 kB / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/1.556, allocations: 52.06 kB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.556, allocations: 0 / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/1.556, allocations: 0 / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/1.556, allocations: 4 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/1.556, allocations: 247.2 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/1.557, allocations: 37.36 kB / 1.015 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/1.557, allocations: 12.8 kB / 1.015 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/1.557, allocations: 3.938 kB / 1.015 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.557, allocations: 38.31 kB / 1.015 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/1.557, allocations: 6.453 kB / 1.015 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002402/1.557, allocations: 49.44 kB / 1.015 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/1.557, allocations: 51.41 kB / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/1.557, allocations: 104.4 kB / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/1.557, allocations: 29.7 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/1.557, allocations: 91.56 kB / 1.015 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/1.557, allocations: 7.812 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/1.557, allocations: 0 / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.557, allocations: 317.6 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.682e-05/1.557, allocations: 7.25 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/1.558, allocations: 11.38 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/1.558, allocations: 7.25 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.558, allocations: 0 / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001445/1.558, allocations: 60.59 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.558, allocations: 8 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.558, allocations: 0 / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.558, allocations: 0 / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/1.558, allocations: 11.98 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/1.558, allocations: 0 / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/1.558, allocations: 15.98 kB / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/1.558, allocations: 3.938 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.041e-05/1.558, allocations: 104.9 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/1.558, allocations: 4 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.004e-05/1.558, allocations: 7.906 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.558, allocations: 0 / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.558, allocations: 0 / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.558, allocations: 4 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/1.559, allocations: 152.5 kB / 1.016 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.559, allocations: 0 / 1.016 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/1.559, allocations: 15.98 kB / 1.016 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/1.559, allocations: 0 / 1.016 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/1.559, allocations: 2.188 kB / 1.016 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.559, allocations: 3.906 kB / 1.016 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.559, allocations: 3.984 kB / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001906/1.559, allocations: 149.8 kB / 1.016 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000316/1.559, allocations: 0.5242 MB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/1.559, allocations: 77.11 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/1.559, allocations: 3.906 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/1.56, allocations: 7.984 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/1.56, allocations: 4.281 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/1.56, allocations: 7.938 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.722e-05/1.56, allocations: 91.02 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001097/1.561, allocations: 8 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001514/1.561, allocations: 95.25 kB / 1.017 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001484/1.561, allocations: 30.91 kB / 1.017 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.561, allocations: 0 / 1.017 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.775e-05/1.561, allocations: 11.44 kB / 1.017 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/1.562, allocations: 7.375 kB / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/1.562, allocations: 91.56 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/1.562, allocations: 0.6993 MB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of SimCode: time 7.945e-06/1.562, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 GB