Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.389/2.389, allocations: 248.6 MB / 255.9 MB, free: 7.105 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.001617/0.001617, allocations: 185.2 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 1.868/1.868, allocations: 205.1 MB / 0.5658 GB, free: 288 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.001246/0.001246, allocations: 98.62 kB / 0.67 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4483/0.4495, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.6725, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6396/1.312, allocations: 131.5 MB / 1.012 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.313, allocations: 69.33 kB / 1.012 GB, free: 8.688 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003077/1.316, allocations: 0.708 MB / 1.013 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.316, allocations: 12 kB / 1.013 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/1.316, allocations: 0 / 1.013 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/1.316, allocations: 163.1 kB / 1.013 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/1.316, allocations: 3.906 kB / 1.013 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/1.316, allocations: 0 / 1.013 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.21e-05/1.316, allocations: 19.67 kB / 1.013 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.133e-05/1.316, allocations: 29.7 kB / 1.013 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.316, allocations: 0 / 1.013 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/1.316, allocations: 0 / 1.013 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/1.316, allocations: 0 / 1.013 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/1.317, allocations: 256.5 kB / 1.013 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.537e-05/1.317, allocations: 29.95 kB / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/1.317, allocations: 7.547 kB / 1.013 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/1.317, allocations: 8 kB / 1.013 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/1.317, allocations: 30.56 kB / 1.013 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/1.317, allocations: 0 / 1.013 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001862/1.317, allocations: 37.33 kB / 1.013 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/1.317, allocations: 51.41 kB / 1.013 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/1.317, allocations: 100.5 kB / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/1.317, allocations: 28.33 kB / 1.013 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/1.317, allocations: 84.8 kB / 1.013 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/1.317, allocations: 4 kB / 1.013 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/1.317, allocations: 0 / 1.013 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.318, allocations: 318.1 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/1.318, allocations: 4 kB / 1.014 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/1.318, allocations: 3.625 kB / 1.014 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.015e-05/1.318, allocations: 7.984 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.318, allocations: 4.062 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001025/1.318, allocations: 45.08 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.318, allocations: 8 kB / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.318, allocations: 0 / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.318, allocations: 0 / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/1.318, allocations: 11.98 kB / 1.014 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.318, allocations: 0 / 1.014 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/1.318, allocations: 19.92 kB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/1.318, allocations: 0 / 1.014 GB, free: 6.617 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 (2): * Single equations (assignments): 2 * 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.0001212/1.318, allocations: 105 kB / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/1.318, allocations: 0 / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/1.319, allocations: 55.02 kB / 1.014 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.319, allocations: 3.906 kB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.319, allocations: 6.281 kB / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.319, allocations: 0 / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/1.319, allocations: 133.6 kB / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.319, allocations: 3.938 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/1.319, allocations: 15.98 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.319, allocations: 192 / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/1.319, allocations: 0 / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.319, allocations: 0 / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.319, allocations: 4 kB / 1.014 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001519/1.319, allocations: 142.9 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003275/1.32, allocations: 0.5108 MB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/1.32, allocations: 81.17 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/1.32, allocations: 0 / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/1.32, allocations: 8 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/1.32, allocations: 7.891 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/1.32, allocations: 0 / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.477e-05/1.32, allocations: 82.84 kB / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001086/1.321, allocations: 4 kB / 1.015 GB, free: 5.391 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 (2): * Single equations (assignments): 2 * 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.0001643/1.321, allocations: 99.25 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001064/1.321, allocations: 14.12 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.321, allocations: 0 / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/1.321, allocations: 7.562 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/1.322, allocations: 8.672 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/1.322, allocations: 67.27 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/1.322, allocations: 0.692 MB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/1.322, allocations: 0 / 1.016 GB, free: 4.457 MB / 0.6355 GB