Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.2/4.2, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5357/4.736, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/4.998, allocations: 98.71 MB / 0.6283 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2853/5.284, allocations: 124.3 MB / 0.7497 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/5.284, allocations: 87.58 kB / 0.7498 GB, free: 13.16 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.005213/5.289, allocations: 1.131 MB / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/5.289, allocations: 8 kB / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/5.289, allocations: 7.906 kB / 0.7509 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/5.29, allocations: 167 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/5.29, allocations: 4 kB / 0.7511 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/5.29, allocations: 0 / 0.7511 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/5.29, allocations: 24 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/5.29, allocations: 41.69 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/5.29, allocations: 0 / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/5.29, allocations: 0 / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/5.29, allocations: 0 / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/5.29, allocations: 257.4 kB / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.709e-05/5.29, allocations: 34.56 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/5.291, allocations: 16.86 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/5.291, allocations: 3.984 kB / 0.7514 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/5.291, allocations: 34.47 kB / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/5.291, allocations: 0 / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002275/5.291, allocations: 49.72 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/5.291, allocations: 63.34 kB / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/5.291, allocations: 105 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/5.291, allocations: 29.7 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/5.291, allocations: 87.98 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/5.291, allocations: 11.84 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/5.291, allocations: 0 / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001436/5.291, allocations: 318.8 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.775e-05/5.291, allocations: 8 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/5.291, allocations: 8 kB / 0.7521 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.275e-05/5.292, allocations: 12 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/5.292, allocations: 0 / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001422/5.292, allocations: 53.59 kB / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/5.292, allocations: 6.656 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/5.292, allocations: 0 / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/5.292, allocations: 0 / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/5.292, allocations: 15.98 kB / 0.7522 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/5.292, allocations: 3.938 kB / 0.7522 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.943e-05/5.292, allocations: 11.98 kB / 0.7522 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/5.292, allocations: 3.906 kB / 0.7522 GB, free: 10.47 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 9.089e-05/5.292, allocations: 108.1 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/5.292, allocations: 3.906 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/5.292, allocations: 12 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/5.292, allocations: 0 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/5.292, allocations: 0 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/5.292, allocations: 4 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/5.293, allocations: 150.2 kB / 0.7525 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/5.293, allocations: 0 / 0.7525 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/5.293, allocations: 8 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/5.293, allocations: 0 / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/5.293, allocations: 11.89 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/5.293, allocations: 0 / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/5.293, allocations: 0 / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002067/5.293, allocations: 151.5 kB / 0.7526 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003357/5.293, allocations: 0.5154 MB / 0.7531 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/5.293, allocations: 81.02 kB / 0.7532 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/5.294, allocations: 0 / 0.7532 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/5.294, allocations: 19.98 kB / 0.7532 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/5.294, allocations: 0 / 0.7532 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/5.294, allocations: 0 / 0.7532 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.627e-05/5.294, allocations: 99.64 kB / 0.7533 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001099/5.295, allocations: 8 kB / 0.7533 GB, free: 9.211 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.0001558/5.295, allocations: 99.25 kB / 0.7534 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000152/5.295, allocations: 24.2 kB / 0.7535 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/5.295, allocations: 7.938 kB / 0.7535 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/5.295, allocations: 12 kB / 0.7535 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/5.296, allocations: 3.906 kB / 0.7535 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/5.296, allocations: 80 kB / 0.7536 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/5.296, allocations: 0.7032 MB / 0.7542 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of SimCode: time 1.202e-06/5.296, allocations: 0 / 0.7542 GB, free: 8.227 MB / 0.6355 GB