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.ConstantSpeedPumpStage.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.ConstantSpeedPumpStage,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage",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.221/4.221, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.578/4.799, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/5.06, allocations: 98.72 MB / 0.6283 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2663/5.326, allocations: 129 MB / 0.7543 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003893/5.326, allocations: 91.58 kB / 0.7544 GB, free: 8.57 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0531/5.379, allocations: 11.17 MB / 0.7653 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/5.38, allocations: 12 kB / 0.7653 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/5.38, allocations: 59.25 kB / 0.7653 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/5.381, allocations: 394.8 kB / 0.7657 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/5.381, allocations: 20 kB / 0.7657 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/5.381, allocations: 35.98 kB / 0.7658 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001312/5.382, allocations: 409.8 kB / 0.7662 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/5.384, allocations: 480 kB / 0.7666 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/5.384, allocations: 0 / 0.7666 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/5.384, allocations: 4 kB / 0.7666 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/5.384, allocations: 12 kB / 0.7666 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/5.387, allocations: 1.288 MB / 0.7679 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/5.388, allocations: 433.1 kB / 0.7683 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/5.389, allocations: 218.2 kB / 0.7685 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.264e-05/5.389, allocations: 12.48 kB / 0.7685 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000778/5.39, allocations: 277.3 kB / 0.7688 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.077e-06/5.39, allocations: 0 / 0.7688 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.001304/5.391, allocations: 440 kB / 0.7692 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/5.391, allocations: 63.89 kB / 0.7693 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007054/5.392, allocations: 327.1 kB / 0.7696 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/5.392, allocations: 45.64 kB / 0.7696 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/5.392, allocations: 177.3 kB / 0.7698 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/5.392, allocations: 142.1 kB / 0.7699 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/5.392, allocations: 4 kB / 0.7699 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001792/5.392, allocations: 358.8 kB / 0.7703 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/5.393, allocations: 189.5 kB / 0.7705 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/5.394, allocations: 277.7 kB / 0.7707 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/5.394, allocations: 195.1 kB / 0.7709 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/5.394, allocations: 0 / 0.7709 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001572/5.396, allocations: 0.5386 MB / 0.7714 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/5.396, allocations: 14.91 kB / 0.7714 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/5.396, allocations: 4 kB / 0.7715 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/5.396, allocations: 4 kB / 0.7715 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/5.397, allocations: 63.75 kB / 0.7715 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/5.397, allocations: 4 kB / 0.7715 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/5.397, allocations: 31.83 kB / 0.7716 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/5.397, allocations: 35.98 kB / 0.7716 GB, free: 6.613 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 71 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,$PRE.chiNumOn.y,chiNumOn.y,$PRE.chiNumOn.nextTime,chiNumOn.nextTime,$PRE.chiNumOn.index,chiNumOn.index,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 3 * 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.0002472/5.397, allocations: 148.8 kB / 0.7717 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/5.398, allocations: 43.53 kB / 0.7718 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/5.399, allocations: 0.504 MB / 0.7723 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/5.399, allocations: 7.984 kB / 0.7723 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/5.399, allocations: 0 / 0.7723 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/5.399, allocations: 7.938 kB / 0.7723 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/5.403, allocations: 1.143 MB / 0.7734 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/5.403, allocations: 0 / 0.7734 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/5.403, allocations: 39.92 kB / 0.7734 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/5.403, allocations: 4 kB / 0.7734 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/5.403, allocations: 15.89 kB / 0.7735 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/5.403, allocations: 3.984 kB / 0.7735 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/5.403, allocations: 3.938 kB / 0.7735 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001416/5.405, allocations: 0.5708 MB / 0.774 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001494/5.406, allocations: 0.9423 MB / 0.7749 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/5.406, allocations: 120.6 kB / 0.7751 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/5.406, allocations: 11.98 kB / 0.7751 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/5.407, allocations: 27.97 kB / 0.7751 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/5.407, allocations: 72.53 kB / 0.7752 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/5.407, allocations: 35.89 kB / 0.7752 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003962/5.408, allocations: 227.1 kB / 0.7754 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001673/5.409, allocations: 123.9 kB / 0.7755 GB, free: 2.465 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: 52 (conSpePumSta.con3.enableFire,conSpePumSta.con4.enableFire,conSpePumSta.con1.enableFire,conSpePumSta.con2.enableFire,conSpePumSta.twoOn.localActive,conSpePumSta.off.localActive,conSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.fire,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.y,cooMod.nextTime,cooMod.index,chiNumOn.y,chiNumOn.nextTime,chiNumOn.index) * Number of discrete states: 7 (chiNumOn.nextTime,cooMod.nextTime,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.index,cooMod.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0009848/5.41, allocations: 269.1 kB / 0.7758 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001531/5.412, allocations: 0.5664 MB / 0.7763 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/5.412, allocations: 0 / 0.7763 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006629/5.413, allocations: 262.4 kB / 0.7766 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/5.413, allocations: 41.03 kB / 0.7766 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/5.416, allocations: 0.7059 MB / 0.7773 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2907/5.706, allocations: 0.9188 MB / 0.7782 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of SimCode: time 2.164e-06/5.706, allocations: 0 / 0.7782 GB, free: 223.4 MB / 0.6511 GB