Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_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 10.0.0-master/package.mo): time 1.827/1.827, allocations: 390.4 MB / 397.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001122, allocations: 192 kB / 490.8 MB, free: 11.16 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.176/1.176, allocations: 221.4 MB / 0.7863 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008924/0.0008925, allocations: 99.11 kB / 0.9264 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2629/0.2639, allocations: 149.2 MB / 1.072 GB, free: 15.44 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5914/0.8553, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/1.008, allocations: 149.6 MB / 1.358 GB, free: 41.97 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/1.008, allocations: 83.94 kB / 1.358 GB, free: 41.89 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.004824/1.013, allocations: 1.872 MB / 1.36 GB, free: 40.05 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/1.013, allocations: 11.28 kB / 1.36 GB, free: 40.04 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/1.013, allocations: 15.81 kB / 1.36 GB, free: 40.03 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/1.013, allocations: 201.2 kB / 1.36 GB, free: 39.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-06/1.013, allocations: 4.531 kB / 1.36 GB, free: 39.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/1.013, allocations: 4.5 kB / 1.36 GB, free: 39.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000156/1.013, allocations: 83.98 kB / 1.36 GB, free: 39.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/1.013, allocations: 119.1 kB / 1.36 GB, free: 39.58 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/1.013, allocations: 0 / 1.36 GB, free: 39.58 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/1.013, allocations: 4 kB / 1.36 GB, free: 39.58 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.013, allocations: 8.391 kB / 1.36 GB, free: 39.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/1.014, allocations: 429.8 kB / 1.361 GB, free: 39.12 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/1.014, allocations: 103.6 kB / 1.361 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/1.014, allocations: 97.69 kB / 1.361 GB, free: 38.92 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/1.014, allocations: 0.5 kB / 1.361 GB, free: 38.92 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/1.014, allocations: 33.58 kB / 1.361 GB, free: 38.88 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/1.014, allocations: 4.438 kB / 1.361 GB, free: 38.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0002616/1.015, allocations: 142 kB / 1.361 GB, free: 38.73 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/1.015, allocations: 89.69 kB / 1.361 GB, free: 38.62 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.945e-05/1.015, allocations: 120.9 kB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/1.015, allocations: 33.7 kB / 1.361 GB, free: 38.46 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/1.015, allocations: 92.72 kB / 1.361 GB, free: 38.37 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/1.015, allocations: 19.66 kB / 1.361 GB, free: 38.35 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/1.015, allocations: 0.8438 kB / 1.361 GB, free: 38.35 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.619e-05/1.015, allocations: 323.5 kB / 1.362 GB, free: 38.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-05/1.015, allocations: 67.98 kB / 1.362 GB, free: 37.96 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.929e-05/1.015, allocations: 64.64 kB / 1.362 GB, free: 37.89 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.681e-05/1.015, allocations: 28.48 kB / 1.362 GB, free: 37.87 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/1.015, allocations: 0 / 1.362 GB, free: 37.87 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001791/1.015, allocations: 138.2 kB / 1.362 GB, free: 37.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.015, allocations: 4.5 kB / 1.362 GB, free: 37.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.015, allocations: 3.906 kB / 1.362 GB, free: 37.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/1.015, allocations: 0.7812 kB / 1.362 GB, free: 37.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/1.016, allocations: 61.64 kB / 1.362 GB, free: 37.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/1.016, allocations: 0 / 1.362 GB, free: 37.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/1.016, allocations: 66.78 kB / 1.362 GB, free: 37.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/1.016, allocations: 8.062 kB / 1.362 GB, free: 37.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (numReq1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.697e-05/1.016, allocations: 139.7 kB / 1.362 GB, free: 37.45 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/1.016, allocations: 13.62 kB / 1.362 GB, free: 37.44 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/1.016, allocations: 12.5 kB / 1.362 GB, free: 37.43 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/1.016, allocations: 0.5938 kB / 1.362 GB, free: 37.43 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.016, allocations: 4.734 kB / 1.362 GB, free: 37.43 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.016, allocations: 0 / 1.362 GB, free: 37.43 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/1.016, allocations: 190.7 kB / 1.362 GB, free: 37.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/1.016, allocations: 0 / 1.362 GB, free: 37.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/1.017, allocations: 54.02 kB / 1.362 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.017, allocations: 4 kB / 1.362 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/1.017, allocations: 0.6562 kB / 1.362 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.017, allocations: 3.938 kB / 1.362 GB, free: 37.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.017, allocations: 0.625 kB / 1.362 GB, free: 37.15 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002259/1.017, allocations: 246.6 kB / 1.363 GB, free: 36.9 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002516/1.017, allocations: 0.6053 MB / 1.363 GB, free: 36.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/1.017, allocations: 84.92 kB / 1.363 GB, free: 36.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/1.017, allocations: 4 kB / 1.363 GB, free: 36.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/1.017, allocations: 67.94 kB / 1.363 GB, free: 36.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/1.018, allocations: 67.92 kB / 1.363 GB, free: 36.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/1.018, allocations: 4 kB / 1.363 GB, free: 36.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.075e-05/1.018, allocations: 108.8 kB / 1.364 GB, free: 35.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007624/1.018, allocations: 24 kB / 1.364 GB, free: 35.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001116/1.019, allocations: 99.19 kB / 1.364 GB, free: 35.79 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002566/1.019, allocations: 205.7 kB / 1.364 GB, free: 35.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.019, allocations: 0 / 1.364 GB, free: 35.59 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/1.019, allocations: 135.3 kB / 1.364 GB, free: 35.45 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/1.019, allocations: 24.11 kB / 1.364 GB, free: 35.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/1.02, allocations: 287.1 kB / 1.364 GB, free: 35.12 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.02, allocations: 0.7192 MB / 1.365 GB, free: 34.38 MB / 0.8855 GB Notification: Performance of SimCode: time 2.81e-07/1.02, allocations: 4 kB / 1.365 GB, free: 34.38 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1)