Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests",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.1.4-maint.8.1.x/package.mo): time 1.42/1.42, allocations: 289.8 MB / 297 MB, free: 6.602 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.001309/0.001309, allocations: 184 kB / 366.3 MB, free: 1.93 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.093/1.093, allocations: 205.1 MB / 0.6256 GB, free: 5.77 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.0008251/0.0008251, allocations: 96.95 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1981/0.199, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.671, allocations: 116.3 MB / 0.9726 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.8155, allocations: 139.2 MB / 1.109 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.8158, allocations: 68.47 kB / 1.109 GB, free: 9.188 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.004875/0.8207, allocations: 1.643 MB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.8207, allocations: 8 kB / 1.11 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.8207, allocations: 12.47 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.8209, allocations: 195.5 kB / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.821, allocations: 0 / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.821, allocations: 8 kB / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001357/0.8211, allocations: 49.17 kB / 1.11 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.8213, allocations: 93.59 kB / 1.111 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.8213, allocations: 0 / 1.111 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.8213, allocations: 9.391 kB / 1.111 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.8213, allocations: 4 kB / 1.111 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.8218, allocations: 317.2 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.8219, allocations: 74.56 kB / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.822, allocations: 52.97 kB / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.8221, allocations: 0 / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.8222, allocations: 99.94 kB / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.8222, allocations: 0 / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002211/0.8224, allocations: 101.6 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.8225, allocations: 85.11 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.8226, allocations: 113 kB / 1.111 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.8226, allocations: 25.7 kB / 1.111 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.8226, allocations: 96.03 kB / 1.111 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.8227, allocations: 23.69 kB / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.8227, allocations: 0 / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8228, allocations: 327.5 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.8229, allocations: 40 kB / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/0.823, allocations: 51.92 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.823, allocations: 25.11 kB / 1.112 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.823, allocations: 0 / 1.112 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001912/0.8232, allocations: 115.8 kB / 1.112 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.8232, allocations: 8 kB / 1.112 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.8232, allocations: 0 / 1.112 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.8233, allocations: 0.5 kB / 1.112 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.8234, allocations: 23.92 kB / 1.112 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.8234, allocations: 4 kB / 1.112 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.8236, allocations: 42.47 kB / 1.112 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.8236, allocations: 4.562 kB / 1.112 GB, free: 5.383 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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 8.706e-05/0.8237, allocations: 139.4 kB / 1.112 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.8237, allocations: 7.906 kB / 1.112 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.8238, allocations: 4.375 kB / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.8238, allocations: 11.97 kB / 1.112 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.8238, allocations: 4 kB / 1.112 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8238, allocations: 3.906 kB / 1.112 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.8239, allocations: 167.2 kB / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8239, allocations: 0 / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/0.824, allocations: 15.98 kB / 1.112 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.824, allocations: 4 kB / 1.112 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.8241, allocations: 3.984 kB / 1.112 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.8241, allocations: 4.562 kB / 1.112 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8241, allocations: 0 / 1.112 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001945/0.8243, allocations: 145.8 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002569/0.8245, allocations: 0.5014 MB / 1.113 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.8246, allocations: 81.02 kB / 1.113 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.8246, allocations: 13.38 kB / 1.113 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.8248, allocations: 27.97 kB / 1.113 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.8249, allocations: 31.95 kB / 1.113 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.8249, allocations: 8 kB / 1.113 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.002e-05/0.825, allocations: 100.5 kB / 1.113 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001433/0.8264, allocations: 23.91 kB / 1.113 GB, free: 3.996 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.000108/0.8265, allocations: 107.2 kB / 1.113 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.8268, allocations: 164.2 kB / 1.114 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.8268, allocations: 0.5625 kB / 1.114 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.8269, allocations: 89.69 kB / 1.114 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.8271, allocations: 16.55 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.8275, allocations: 148 kB / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.8277, allocations: 0.7036 MB / 1.115 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.8277, allocations: 4 kB / 1.115 GB, free: 2.699 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)