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.VariableSpeedPumpStage.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.VariableSpeedPumpStage,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",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.272/4.272, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5552/4.827, allocations: 104.3 MB / 0.5319 GB, free: 12.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/5.077, allocations: 98.73 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2959/5.373, allocations: 128.9 MB / 0.7542 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/5.374, allocations: 91.58 kB / 0.7542 GB, free: 8.645 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.04215/5.416, allocations: 9.207 MB / 0.7632 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/5.416, allocations: 8 kB / 0.7632 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/5.416, allocations: 59.34 kB / 0.7633 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008259/5.417, allocations: 369.8 kB / 0.7636 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/5.417, allocations: 20 kB / 0.7637 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/5.417, allocations: 39.98 kB / 0.7637 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001255/5.418, allocations: 377.9 kB / 0.7641 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/5.42, allocations: 432.1 kB / 0.7645 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/5.42, allocations: 0 / 0.7645 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/5.42, allocations: 0 / 0.7645 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/5.42, allocations: 19.98 kB / 0.7645 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/5.424, allocations: 1.304 MB / 0.7658 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/5.425, allocations: 396.3 kB / 0.7661 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/5.426, allocations: 190.1 kB / 0.7663 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-05/5.426, allocations: 16.42 kB / 0.7663 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007696/5.427, allocations: 241.1 kB / 0.7666 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 4.519e-06/5.427, allocations: 3.938 kB / 0.7666 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.001154/5.428, allocations: 344.1 kB / 0.7669 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/5.428, allocations: 67.89 kB / 0.767 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/5.429, allocations: 292.7 kB / 0.7673 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/5.429, allocations: 33.7 kB / 0.7673 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/5.429, allocations: 185.2 kB / 0.7675 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/5.429, allocations: 134.2 kB / 0.7676 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/5.429, allocations: 0 / 0.7676 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001745/5.43, allocations: 346.8 kB / 0.7679 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/5.43, allocations: 153.3 kB / 0.7681 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/5.431, allocations: 236.7 kB / 0.7683 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/5.431, allocations: 143.2 kB / 0.7684 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/5.431, allocations: 0 / 0.7684 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001359/5.433, allocations: 463.4 kB / 0.7689 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/5.433, allocations: 4 kB / 0.7689 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/5.433, allocations: 4 kB / 0.7689 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/5.433, allocations: 4 kB / 0.7689 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/5.433, allocations: 83.75 kB / 0.769 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/5.433, allocations: 4 kB / 0.769 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007512/5.434, allocations: 83.73 kB / 0.769 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/5.434, allocations: 27.98 kB / 0.7691 GB, free: 9.152 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: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 79 * 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.0003162/5.435, allocations: 149.3 kB / 0.7692 GB, free: 9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/5.435, allocations: 39.53 kB / 0.7693 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/5.436, allocations: 432 kB / 0.7697 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/5.436, allocations: 4 kB / 0.7697 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/5.436, allocations: 0 / 0.7697 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/5.436, allocations: 7.984 kB / 0.7697 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/5.439, allocations: 1.049 MB / 0.7707 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/5.439, allocations: 0 / 0.7707 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/5.44, allocations: 63.84 kB / 0.7708 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/5.44, allocations: 0 / 0.7708 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/5.44, allocations: 7.984 kB / 0.7708 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/5.44, allocations: 11.91 kB / 0.7708 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/5.44, allocations: 0 / 0.7708 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001301/5.441, allocations: 492.7 kB / 0.7712 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001489/5.443, allocations: 0.8603 MB / 0.7721 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/5.443, allocations: 112.6 kB / 0.7722 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/5.444, allocations: 15.94 kB / 0.7722 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/5.445, allocations: 59.94 kB / 0.7723 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003569/5.445, allocations: 76.53 kB / 0.7723 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/5.445, allocations: 16 kB / 0.7724 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000561/5.446, allocations: 205.2 kB / 0.7726 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003143/5.449, allocations: 99.83 kB / 0.7726 GB, free: 5.383 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: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001338/5.451, allocations: 233 kB / 0.7729 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002292/5.453, allocations: 478.8 kB / 0.7733 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/5.453, allocations: 4.062 kB / 0.7733 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/5.454, allocations: 230.4 kB / 0.7735 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/5.455, allocations: 36.95 kB / 0.7736 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/5.458, allocations: 0.597 MB / 0.7742 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008681/5.458, allocations: 0.9018 MB / 0.775 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/5.459, allocations: 0 / 0.775 GB, free: 2.859 MB / 0.6511 GB