Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",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.191/4.191, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5642/4.756, allocations: 104.3 MB / 0.5319 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/5.012, allocations: 98.72 MB / 0.6283 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2693/5.281, allocations: 125.2 MB / 0.7505 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/5.281, allocations: 91.52 kB / 0.7506 GB, free: 12.33 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.008115/5.29, allocations: 1.611 MB / 0.7522 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/5.29, allocations: 12 kB / 0.7522 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/5.29, allocations: 7.906 kB / 0.7522 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/5.29, allocations: 183 kB / 0.7524 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/5.29, allocations: 4 kB / 0.7524 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/5.29, allocations: 4 kB / 0.7524 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000176/5.29, allocations: 32 kB / 0.7524 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/5.29, allocations: 73.59 kB / 0.7525 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/5.291, allocations: 0 / 0.7525 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/5.291, allocations: 4 kB / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/5.291, allocations: 4 kB / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008752/5.291, allocations: 321.2 kB / 0.7528 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/5.292, allocations: 54.5 kB / 0.7529 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/5.292, allocations: 36.98 kB / 0.7529 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/5.292, allocations: 0 / 0.7529 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/5.292, allocations: 71.39 kB / 0.753 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/5.292, allocations: 4 kB / 0.753 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002988/5.292, allocations: 77.58 kB / 0.753 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/5.292, allocations: 81.11 kB / 0.7531 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/5.293, allocations: 120.9 kB / 0.7532 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/5.293, allocations: 25.7 kB / 0.7533 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/5.293, allocations: 92.03 kB / 0.7533 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/5.293, allocations: 19.75 kB / 0.7534 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/5.293, allocations: 0 / 0.7534 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001464/5.293, allocations: 326.8 kB / 0.7537 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.864e-05/5.293, allocations: 24 kB / 0.7537 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/5.293, allocations: 31.98 kB / 0.7537 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.066e-05/5.293, allocations: 24.11 kB / 0.7537 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/5.293, allocations: 3.906 kB / 0.7538 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002707/5.293, allocations: 93.53 kB / 0.7538 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/5.294, allocations: 4 kB / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/5.294, allocations: 0 / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/5.294, allocations: 0 / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/5.294, allocations: 27.97 kB / 0.7539 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/5.294, allocations: 0 / 0.7539 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/5.294, allocations: 27.92 kB / 0.7539 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/5.294, allocations: 8 kB / 0.7539 GB, free: 8.738 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: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001354/5.294, allocations: 134.6 kB / 0.754 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/5.294, allocations: 11.89 kB / 0.754 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/5.294, allocations: 8.375 kB / 0.7541 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/5.294, allocations: 4 kB / 0.7541 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/5.294, allocations: 3.938 kB / 0.7541 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/5.294, allocations: 0 / 0.7541 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/5.295, allocations: 327 kB / 0.7544 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/5.295, allocations: 0 / 0.7544 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/5.295, allocations: 15.98 kB / 0.7544 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/5.295, allocations: 0 / 0.7544 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/5.295, allocations: 8 kB / 0.7544 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/5.295, allocations: 0 / 0.7544 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.295, allocations: 3.938 kB / 0.7544 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002827/5.295, allocations: 199.4 kB / 0.7546 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000425/5.296, allocations: 0.5428 MB / 0.7551 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/5.296, allocations: 85 kB / 0.7552 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/5.296, allocations: 4 kB / 0.7552 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/5.296, allocations: 19.98 kB / 0.7552 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/5.296, allocations: 23.97 kB / 0.7552 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/5.297, allocations: 0 / 0.7552 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.077e-05/5.297, allocations: 99.27 kB / 0.7553 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001134/5.298, allocations: 19.91 kB / 0.7554 GB, free: 7.133 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: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001796/5.298, allocations: 110.2 kB / 0.7555 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003248/5.298, allocations: 127.4 kB / 0.7556 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/5.298, allocations: 0.7188 kB / 0.7556 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/5.298, allocations: 65.69 kB / 0.7557 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/5.299, allocations: 7.984 kB / 0.7557 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/5.299, allocations: 135.4 kB / 0.7558 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/5.3, allocations: 0.7114 MB / 0.7565 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of SimCode: time 1.223e-06/5.3, allocations: 0 / 0.7565 GB, free: 5.91 MB / 0.6355 GB