Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7828/0.7828, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001663/0.001664, allocations: 185.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.1 MB / 399.1 MB, free: 6.164 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 93.7 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3168/0.3179, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.4888, allocations: 76.74 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.507/0.9959, allocations: 102.8 MB / 0.7214 GB, free: 9.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.9961, allocations: 71.95 kB / 0.7214 GB, free: 9.449 MB / 490.7 MB 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.005242/1.001, allocations: 1.629 MB / 0.723 GB, free: 7.773 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.001, allocations: 12 kB / 0.723 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/1.001, allocations: 15.91 kB / 0.7231 GB, free: 7.746 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/1.002, allocations: 190.9 kB / 0.7232 GB, free: 7.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/1.002, allocations: 4 kB / 0.7232 GB, free: 7.516 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/1.002, allocations: 4 kB / 0.7232 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001591/1.002, allocations: 51.98 kB / 0.7233 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/1.002, allocations: 90.33 kB / 0.7234 GB, free: 7.367 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.002, allocations: 0 / 0.7234 GB, free: 7.367 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/1.002, allocations: 4 kB / 0.7234 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/1.002, allocations: 0 / 0.7234 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/1.003, allocations: 323.5 kB / 0.7237 GB, free: 7.012 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/1.003, allocations: 74.56 kB / 0.7238 GB, free: 6.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/1.003, allocations: 52.97 kB / 0.7238 GB, free: 6.875 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/1.003, allocations: 0 / 0.7238 GB, free: 6.875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/1.003, allocations: 103.2 kB / 0.7239 GB, free: 6.762 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/1.003, allocations: 0 / 0.7239 GB, free: 6.762 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.000275/1.004, allocations: 97.58 kB / 0.724 GB, free: 6.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/1.004, allocations: 89.11 kB / 0.7241 GB, free: 6.555 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.004, allocations: 115.5 kB / 0.7242 GB, free: 6.438 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/1.004, allocations: 29.7 kB / 0.7242 GB, free: 6.402 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/1.004, allocations: 88.05 kB / 0.7243 GB, free: 6.312 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/1.004, allocations: 23.89 kB / 0.7243 GB, free: 6.289 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/1.004, allocations: 4 kB / 0.7243 GB, free: 6.285 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/1.004, allocations: 318.8 kB / 0.7246 GB, free: 5.965 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/1.004, allocations: 43.98 kB / 0.7247 GB, free: 5.922 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/1.004, allocations: 52.67 kB / 0.7247 GB, free: 5.871 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.81e-05/1.004, allocations: 32.02 kB / 0.7248 GB, free: 5.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.004, allocations: 3.938 kB / 0.7248 GB, free: 5.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002062/1.004, allocations: 113.6 kB / 0.7249 GB, free: 5.719 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/1.005, allocations: 4 kB / 0.7249 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/1.005, allocations: 3.984 kB / 0.7249 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/1.005, allocations: 2.688 kB / 0.7249 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/1.005, allocations: 31.97 kB / 0.7249 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/1.005, allocations: 3.938 kB / 0.7249 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/1.005, allocations: 30.45 kB / 0.725 GB, free: 5.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/1.005, allocations: 11.98 kB / 0.725 GB, free: 5.637 MB / 490.7 MB 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.0001021/1.005, allocations: 138.7 kB / 0.7251 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/1.005, allocations: 7.906 kB / 0.7251 GB, free: 5.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/1.005, allocations: 12.38 kB / 0.7251 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.005, allocations: 0 / 0.7251 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.005, allocations: 0 / 0.7251 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.005, allocations: 3.984 kB / 0.7251 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/1.005, allocations: 166.1 kB / 0.7253 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/1.005, allocations: 0 / 0.7253 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.993e-05/1.005, allocations: 19.98 kB / 0.7253 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/1.005, allocations: 0 / 0.7253 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/1.005, allocations: 11.98 kB / 0.7253 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.005, allocations: 0 / 0.7253 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.005, allocations: 0 / 0.7253 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002111/1.006, allocations: 133.8 kB / 0.7254 GB, free: 5.086 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003239/1.006, allocations: 0.5052 MB / 0.7259 GB, free: 4.559 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/1.006, allocations: 81.02 kB / 0.726 GB, free: 4.461 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/1.006, allocations: 8.188 kB / 0.726 GB, free: 4.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/1.006, allocations: 35.97 kB / 0.7261 GB, free: 4.418 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.006, allocations: 39.89 kB / 0.7261 GB, free: 4.379 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/1.006, allocations: 4 kB / 0.7261 GB, free: 4.375 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.028e-05/1.007, allocations: 95.27 kB / 0.7262 GB, free: 4.281 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000779/1.007, allocations: 24 kB / 0.7262 GB, free: 4.258 MB / 490.7 MB 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.0001424/1.007, allocations: 107.2 kB / 0.7263 GB, free: 4.145 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002744/1.008, allocations: 163.3 kB / 0.7265 GB, free: 3.973 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.008, allocations: 0 / 0.7265 GB, free: 3.973 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/1.008, allocations: 89.69 kB / 0.7266 GB, free: 3.879 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/1.008, allocations: 23.83 kB / 0.7266 GB, free: 3.855 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/1.009, allocations: 143.5 kB / 0.7267 GB, free: 3.691 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/1.009, allocations: 0.7075 MB / 0.7274 GB, free: 2.957 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/1.009, allocations: 0 / 0.7274 GB, free: 2.957 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)