Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",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.246/4.246, allocations: 433 MB / 440.3 MB, free: 4.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5893/4.835, allocations: 104.4 MB / 0.5319 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/5.066, allocations: 98.71 MB / 0.6283 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2762/5.342, allocations: 126.5 MB / 0.7519 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/5.342, allocations: 99.5 kB / 0.752 GB, free: 10.93 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.02061/5.363, allocations: 4.742 MB / 0.7566 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/5.363, allocations: 12 kB / 0.7566 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/5.363, allocations: 31.62 kB / 0.7566 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/5.364, allocations: 259.3 kB / 0.7569 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/5.364, allocations: 12 kB / 0.7569 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/5.364, allocations: 20 kB / 0.7569 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006981/5.365, allocations: 205.2 kB / 0.7571 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/5.365, allocations: 259.7 kB / 0.7574 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/5.365, allocations: 0 / 0.7574 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/5.365, allocations: 3.984 kB / 0.7574 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/5.365, allocations: 12 kB / 0.7574 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/5.368, allocations: 0.8735 MB / 0.7582 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/5.369, allocations: 220.8 kB / 0.7584 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/5.369, allocations: 97.31 kB / 0.7585 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/5.369, allocations: 12.17 kB / 0.7585 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003438/5.369, allocations: 135.5 kB / 0.7587 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 3.376e-06/5.369, allocations: 0 / 0.7587 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.0006419/5.37, allocations: 189.5 kB / 0.7588 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/5.37, allocations: 59.34 kB / 0.7589 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/5.37, allocations: 169.8 kB / 0.7591 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/5.37, allocations: 29.7 kB / 0.7591 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/5.371, allocations: 137.3 kB / 0.7592 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/5.371, allocations: 82.89 kB / 0.7593 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/5.371, allocations: 0 / 0.7593 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001369/5.371, allocations: 330.8 kB / 0.7596 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/5.371, allocations: 76 kB / 0.7597 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/5.371, allocations: 129.1 kB / 0.7598 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/5.372, allocations: 71.72 kB / 0.7599 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/5.372, allocations: 0 / 0.7599 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007267/5.373, allocations: 260.7 kB / 0.7601 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/5.373, allocations: 7.938 kB / 0.7601 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/5.373, allocations: 4 kB / 0.7601 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/5.373, allocations: 3.984 kB / 0.7601 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/5.373, allocations: 39.92 kB / 0.7602 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/5.373, allocations: 3.984 kB / 0.7602 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/5.373, allocations: 44.03 kB / 0.7602 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/5.374, allocations: 16 kB / 0.7602 GB, free: 2.176 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001632/5.374, allocations: 135.8 kB / 0.7604 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/5.374, allocations: 15.81 kB / 0.7604 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/5.374, allocations: 221.3 kB / 0.7606 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/5.375, allocations: 3.984 kB / 0.7606 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/5.375, allocations: 7.906 kB / 0.7606 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/5.375, allocations: 0 / 0.7606 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/5.376, allocations: 0.6282 MB / 0.7612 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/5.376, allocations: 0 / 0.7612 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/5.376, allocations: 35.92 kB / 0.7613 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/5.377, allocations: 0 / 0.7613 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/5.377, allocations: 7.984 kB / 0.7613 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/5.377, allocations: 0 / 0.7613 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/5.377, allocations: 3.984 kB / 0.7613 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000625/5.377, allocations: 299.2 kB / 0.7616 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007199/5.378, allocations: 0.6719 MB / 0.7622 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/5.378, allocations: 96.77 kB / 0.7623 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/5.378, allocations: 11.98 kB / 0.7623 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/5.379, allocations: 35.97 kB / 0.7624 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/5.379, allocations: 31.94 kB / 0.7624 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/5.379, allocations: 15.94 kB / 0.7624 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001353/5.379, allocations: 115.2 kB / 0.7625 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001308/5.38, allocations: 47.91 kB / 0.7626 GB, free: 15.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002952/5.381, allocations: 126.6 kB / 0.7627 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009923/5.382, allocations: 203.9 kB / 0.7629 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/5.382, allocations: 3.938 kB / 0.7629 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/5.382, allocations: 112.9 kB / 0.763 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/5.382, allocations: 24.48 kB / 0.763 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/5.384, allocations: 309.6 kB / 0.7633 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007687/5.384, allocations: 0.7865 MB / 0.7641 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.953e-06/5.385, allocations: 0 / 0.7641 GB, free: 14.1 MB / 0.6511 GB