Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_latest_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.826/1.826, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000947/0.000947, allocations: 177.7 kB / 490.8 MB, free: 1.941 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.144/1.144, allocations: 221.4 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 88.72 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4243/0.4252, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.6013, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5154/1.117, allocations: 158.7 MB / 1.367 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/1.117, allocations: 93.2 kB / 1.367 GB, free: 17.46 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.03937/1.156, allocations: 16.95 MB / 1.383 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.156, allocations: 9.281 kB / 1.383 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/1.157, allocations: 87.56 kB / 1.383 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/1.158, allocations: 0.5591 MB / 1.384 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/1.158, allocations: 26.02 kB / 1.384 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/1.158, allocations: 33.44 kB / 1.384 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007448/1.158, allocations: 408.5 kB / 1.384 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007648/1.159, allocations: 0.5004 MB / 1.385 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.159, allocations: 0 / 1.385 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/1.159, allocations: 5.328 kB / 1.385 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/1.159, allocations: 12.66 kB / 1.385 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/1.161, allocations: 1.501 MB / 1.386 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/1.162, allocations: 440.9 kB / 1.387 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/1.162, allocations: 216 kB / 1.387 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/1.162, allocations: 14.28 kB / 1.387 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/1.163, allocations: 276.5 kB / 1.387 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=65): time 1.904e-06/1.163, allocations: 4 kB / 1.387 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65): time 0.0007944/1.164, allocations: 435.9 kB / 1.388 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/1.164, allocations: 167.5 kB / 1.388 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007357/1.164, allocations: 0.6246 MB / 1.388 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/1.165, allocations: 39.7 kB / 1.389 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/1.165, allocations: 203.1 kB / 1.389 GB, free: 28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/1.165, allocations: 160.1 kB / 1.389 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/1.165, allocations: 0 / 1.389 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.165, allocations: 384.9 kB / 1.389 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/1.165, allocations: 166.7 kB / 1.389 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/1.166, allocations: 349.5 kB / 1.39 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/1.166, allocations: 169.5 kB / 1.39 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.166, allocations: 1.031 kB / 1.39 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008026/1.167, allocations: 0.5174 MB / 1.39 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.167, allocations: 4.75 kB / 1.39 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.167, allocations: 2.094 kB / 1.39 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.167, allocations: 9.938 kB / 1.39 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/1.167, allocations: 90.11 kB / 1.39 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.167, allocations: 9.047 kB / 1.39 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/1.167, allocations: 39.42 kB / 1.391 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/1.167, allocations: 29.73 kB / 1.391 GB, free: 27.17 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,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,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0001595/1.168, allocations: 154.9 kB / 1.391 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.894e-05/1.168, allocations: 61.47 kB / 1.391 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008843/1.169, allocations: 0.5192 MB / 1.391 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/1.169, allocations: 11.48 kB / 1.391 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.169, allocations: 0 / 1.391 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.169, allocations: 8.953 kB / 1.391 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/1.17, allocations: 1.319 MB / 1.393 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.171, allocations: 3.938 kB / 1.393 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/1.171, allocations: 60.16 kB / 1.393 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.171, allocations: 2.75 kB / 1.393 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/1.171, allocations: 9.297 kB / 1.393 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.171, allocations: 6.75 kB / 1.393 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.171, allocations: 0 / 1.393 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007822/1.172, allocations: 0.5757 MB / 1.393 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008895/1.173, allocations: 0.9653 MB / 1.394 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/1.173, allocations: 164.8 kB / 1.394 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/1.173, allocations: 10.52 kB / 1.394 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/1.173, allocations: 22.55 kB / 1.394 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.173, allocations: 85.83 kB / 1.394 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/1.173, allocations: 21.78 kB / 1.394 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004947/1.174, allocations: 467.1 kB / 1.395 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001095/1.175, allocations: 157.2 kB / 1.395 GB, free: 25.11 MB / 0.8386 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,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,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.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 7 (chiNumOn.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEvent,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001026/1.176, allocations: 0.5417 MB / 1.396 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000756/1.177, allocations: 0.5003 MB / 1.396 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.177, allocations: 0 / 1.396 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003889/1.177, allocations: 273.1 kB / 1.396 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/1.178, allocations: 101.7 kB / 1.396 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/1.179, allocations: 0.9393 MB / 1.397 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007743/1.18, allocations: 1.024 MB / 1.398 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.18, allocations: 0.7812 kB / 1.398 GB, free: 23.58 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1)