Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.283/2.283, allocations: 248.6 MB / 255.9 MB, free: 7.578 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 178.9 kB / 315.1 MB, free: 8.531 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.1 MB / 0.5658 GB, free: 4.113 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 85.72 kB / 0.67 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.4727/0.4741, allocations: 112.4 MB / 0.7797 GB, free: 107.3 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.7104, allocations: 106.2 MB / 0.8835 GB, free: 1 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6712/1.382, allocations: 131.3 MB / 1.012 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.382, allocations: 69.41 kB / 1.012 GB, free: 14.85 MB / 0.6387 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.004049/1.386, allocations: 0.9064 MB / 1.013 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.386, allocations: 16 kB / 1.013 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/1.386, allocations: 3.906 kB / 1.013 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/1.386, allocations: 163.1 kB / 1.013 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/1.386, allocations: 0 / 1.013 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/1.386, allocations: 0 / 1.013 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/1.387, allocations: 26.19 kB / 1.013 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/1.387, allocations: 47.22 kB / 1.013 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.387, allocations: 0 / 1.013 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/1.387, allocations: 0 / 1.013 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.387, allocations: 0 / 1.013 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/1.387, allocations: 291.1 kB / 1.013 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.015e-05/1.388, allocations: 28.33 kB / 1.013 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/1.388, allocations: 20.42 kB / 1.013 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/1.388, allocations: 0 / 1.013 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/1.388, allocations: 38.64 kB / 1.013 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/1.388, allocations: 0 / 1.013 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0002038/1.388, allocations: 48.19 kB / 1.013 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/1.388, allocations: 53.92 kB / 1.013 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/1.388, allocations: 108.2 kB / 1.013 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/1.388, allocations: 25.7 kB / 1.014 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/1.388, allocations: 87.64 kB / 1.014 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/1.388, allocations: 3.906 kB / 1.014 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/1.388, allocations: 0 / 1.014 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.388, allocations: 322.6 kB / 1.014 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.672e-05/1.388, allocations: 8 kB / 1.014 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/1.388, allocations: 7.25 kB / 1.014 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.662e-05/1.388, allocations: 7.5 kB / 1.014 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.388, allocations: 3.938 kB / 1.014 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001333/1.389, allocations: 52.28 kB / 1.014 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.389, allocations: 8 kB / 1.014 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.389, allocations: 0 / 1.014 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.389, allocations: 0 / 1.014 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/1.389, allocations: 23.98 kB / 1.014 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.389, allocations: 0 / 1.014 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/1.389, allocations: 23.89 kB / 1.014 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/1.389, allocations: 8 kB / 1.014 GB, free: 12.5 MB / 0.6387 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 7.758e-05/1.389, allocations: 103.6 kB / 1.014 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/1.389, allocations: 7.438 kB / 1.014 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/1.389, allocations: 15.89 kB / 1.014 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.389, allocations: 0 / 1.014 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.389, allocations: 3.938 kB / 1.014 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.389, allocations: 4 kB / 1.014 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/1.39, allocations: 148.8 kB / 1.014 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.39, allocations: 0 / 1.014 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/1.39, allocations: 19.98 kB / 1.014 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.39, allocations: 3.938 kB / 1.014 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/1.39, allocations: 0 / 1.014 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.39, allocations: 11.89 kB / 1.014 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.39, allocations: 0 / 1.014 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001679/1.39, allocations: 139.1 kB / 1.014 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002813/1.39, allocations: 0.5135 MB / 1.015 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/1.39, allocations: 89 kB / 1.015 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/1.39, allocations: 4 kB / 1.015 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/1.391, allocations: 15.98 kB / 1.015 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/1.391, allocations: 3.984 kB / 1.015 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/1.391, allocations: 7.688 kB / 1.015 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.365e-05/1.391, allocations: 87.28 kB / 1.015 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001094/1.392, allocations: 11.84 kB / 1.015 GB, free: 11.25 MB / 0.6387 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.0001652/1.392, allocations: 99.25 kB / 1.015 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001404/1.392, allocations: 22.06 kB / 1.015 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.392, allocations: 0 / 1.015 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/1.392, allocations: 11 kB / 1.015 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/1.393, allocations: 7.984 kB / 1.015 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/1.393, allocations: 93.48 kB / 1.015 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/1.393, allocations: 0.6881 MB / 1.016 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/1.393, allocations: 0 / 1.016 GB, free: 10.3 MB / 0.6387 GB