Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_8_0_x_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.3/1.3, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008771/0.0008772, allocations: 187.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.01/1.01, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008147/0.0008147, allocations: 96.61 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1759/0.1768, allocations: 121.4 MB / 0.8511 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.5777, allocations: 115.3 MB / 0.9638 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.7114, allocations: 140.1 MB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.7116, allocations: 91.34 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.01133/0.723, allocations: 4.848 MB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.723, allocations: 8.5 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.7231, allocations: 31.62 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.7234, allocations: 267.3 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.7234, allocations: 12 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.7234, allocations: 17.81 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003533/0.7238, allocations: 197.9 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.7242, allocations: 270.3 kB / 1.106 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.7242, allocations: 7.938 kB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.7242, allocations: 0 / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.7243, allocations: 4 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.7255, allocations: 0.8955 MB / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.7259, allocations: 223.5 kB / 1.107 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.7261, allocations: 97.33 kB / 1.107 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.7261, allocations: 8.234 kB / 1.107 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.7263, allocations: 139.5 kB / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.484e-06/0.7263, allocations: 0.6094 kB / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0003309/0.7266, allocations: 181.5 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.7267, allocations: 55.41 kB / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.7268, allocations: 170.3 kB / 1.108 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.7268, allocations: 33.7 kB / 1.108 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.7269, allocations: 140.5 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.727, allocations: 79.7 kB / 1.108 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.727, allocations: 0 / 1.108 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.7271, allocations: 330.8 kB / 1.108 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.7272, allocations: 79.94 kB / 1.109 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.7274, allocations: 126.3 kB / 1.109 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.7275, allocations: 79.47 kB / 1.109 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.7275, allocations: 0 / 1.109 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003562/0.7279, allocations: 254.8 kB / 1.109 GB, free: 7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.7279, allocations: 4 kB / 1.109 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7279, allocations: 7.906 kB / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.7279, allocations: 160 / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.7281, allocations: 47.91 kB / 1.109 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.7282, allocations: 0 / 1.109 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.7284, allocations: 55.75 kB / 1.109 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.7284, allocations: 8 kB / 1.109 GB, free: 6.879 MB / 0.7136 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 9.012e-05/0.7285, allocations: 126.2 kB / 1.109 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.7285, allocations: 24.27 kB / 1.109 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.729, allocations: 230.2 kB / 1.109 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.729, allocations: 4 kB / 1.109 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.729, allocations: 0 / 1.109 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.729, allocations: 0.5156 kB / 1.109 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000766/0.7298, allocations: 0.6287 MB / 1.11 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.7298, allocations: 0 / 1.11 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.7299, allocations: 27.92 kB / 1.11 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.7299, allocations: 4 kB / 1.11 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.73, allocations: 7.984 kB / 1.11 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.73, allocations: 1.125 kB / 1.11 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.73, allocations: 0 / 1.11 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003243/0.7303, allocations: 303.9 kB / 1.11 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003902/0.7307, allocations: 0.6753 MB / 1.111 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.7308, allocations: 100.8 kB / 1.111 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.7308, allocations: 1.375 kB / 1.111 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.731, allocations: 35.97 kB / 1.111 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.7311, allocations: 43.78 kB / 1.111 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.7311, allocations: 12 kB / 1.111 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.58e-05/0.7312, allocations: 115.3 kB / 1.111 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008092/0.732, allocations: 47.98 kB / 1.111 GB, free: 4.414 MB / 0.7136 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.0001309/0.7322, allocations: 117.4 kB / 1.112 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.7325, allocations: 212.6 kB / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.7325, allocations: 320 / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.7327, allocations: 120.9 kB / 1.112 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.7329, allocations: 27.77 kB / 1.112 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006307/0.7335, allocations: 302.4 kB / 1.112 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.7339, allocations: 0.806 MB / 1.113 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7339, allocations: 0 / 1.113 GB, free: 2.797 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)