Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.305/1.305, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.0008984/0.0008984, allocations: 181.2 kB / 361.1 MB, free: 7.086 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.007/1.007, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007627/0.0007627, allocations: 90.55 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1681/0.1689, allocations: 121.4 MB / 0.8511 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.5736, allocations: 115.3 MB / 0.9637 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.7025, allocations: 138.2 MB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.7028, allocations: 74.14 kB / 1.099 GB, free: 1.73 MB / 0.698 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.004774/0.7075, allocations: 1.636 MB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.7076, allocations: 12.5 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.7076, allocations: 8.562 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.7079, allocations: 207 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.7079, allocations: 6.078 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.7079, allocations: 4 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001415/0.7081, allocations: 51.98 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.7082, allocations: 86.45 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.7082, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.7082, allocations: 4 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.7082, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.7088, allocations: 325.2 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.7089, allocations: 78.5 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.709, allocations: 50.3 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.7091, allocations: 1.125 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.7092, allocations: 95.38 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.7092, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002369/0.7095, allocations: 101.6 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.7095, allocations: 85.09 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/0.7096, allocations: 116.9 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.7096, allocations: 33.7 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.7097, allocations: 91.97 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.7097, allocations: 19.75 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.7097, allocations: 4 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.7098, allocations: 318.8 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.7099, allocations: 48.06 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.71, allocations: 48.72 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.59e-05/0.7101, allocations: 29.67 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7101, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001997/0.7103, allocations: 121.5 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7103, allocations: 4 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7103, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.7103, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.7105, allocations: 21.36 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.7105, allocations: 4 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.7106, allocations: 34.47 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.7107, allocations: 4 kB / 1.102 GB, free: 13.98 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 0.0001183/0.7108, allocations: 146.7 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.7108, allocations: 7.906 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.7109, allocations: 14.06 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7109, allocations: 1.078 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7109, allocations: 0 / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.7109, allocations: 3.906 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.711, allocations: 166.2 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.711, allocations: 0 / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.7111, allocations: 30.17 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7112, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.7112, allocations: 4 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7112, allocations: 3.938 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/0.7112, allocations: 2.109 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002091/0.7114, allocations: 136.9 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002941/0.7117, allocations: 0.5014 MB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.7118, allocations: 85 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.7118, allocations: 4 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.712, allocations: 29.92 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.7121, allocations: 39.89 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.7121, allocations: 12.59 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.011e-05/0.7122, allocations: 93.09 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008218/0.713, allocations: 27.91 kB / 1.104 GB, free: 12.59 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.0001142/0.7131, allocations: 115 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.7134, allocations: 159.4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.7134, allocations: 4 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.7135, allocations: 89.62 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.7137, allocations: 12.69 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.714, allocations: 148.3 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.7144, allocations: 0.7083 MB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7144, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)