Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.019/2.019, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 181.2 kB / 487 MB, free: 5.402 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.223/1.223, allocations: 221.3 MB / 0.7819 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009717/0.0009717, allocations: 94.11 kB / 0.9213 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4635/0.4645, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.6826, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5894/1.272, allocations: 148.8 MB / 1.351 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/1.272, allocations: 86.19 kB / 1.351 GB, free: 15.91 MB / 0.8073 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.005353/1.278, allocations: 1.855 MB / 1.353 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.278, allocations: 8.938 kB / 1.353 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/1.278, allocations: 14.59 kB / 1.353 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/1.278, allocations: 197.9 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/1.278, allocations: 2.906 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/1.278, allocations: 5.969 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001996/1.278, allocations: 82.55 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/1.278, allocations: 127.2 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.278, allocations: 5.156 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/1.279, allocations: 1.25 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.279, allocations: 1.406 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/1.279, allocations: 426.1 kB / 1.353 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/1.279, allocations: 109.8 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/1.28, allocations: 99.66 kB / 1.354 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/1.28, allocations: 0.8125 kB / 1.354 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/1.28, allocations: 36.64 kB / 1.354 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/1.28, allocations: 0 / 1.354 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0002783/1.28, allocations: 143 kB / 1.354 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/1.28, allocations: 81.55 kB / 1.354 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.173e-05/1.28, allocations: 125.3 kB / 1.354 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/1.28, allocations: 31.8 kB / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.084e-05/1.28, allocations: 92.5 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/1.28, allocations: 21.38 kB / 1.354 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/1.28, allocations: 9.438 kB / 1.354 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.972e-05/1.28, allocations: 320.8 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/1.28, allocations: 65.58 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.851e-05/1.28, allocations: 71.98 kB / 1.355 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.339e-05/1.28, allocations: 23.61 kB / 1.355 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.28, allocations: 0 / 1.355 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002098/1.281, allocations: 141.1 kB / 1.355 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.281, allocations: 6.047 kB / 1.355 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.281, allocations: 0.9062 kB / 1.355 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/1.281, allocations: 4 kB / 1.355 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/1.281, allocations: 55.48 kB / 1.355 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/1.281, allocations: 0.7812 kB / 1.355 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/1.281, allocations: 66.39 kB / 1.355 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/1.281, allocations: 2 kB / 1.355 GB, free: 14.09 MB / 0.8073 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 7.116e-05/1.281, allocations: 146 kB / 1.355 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/1.281, allocations: 9.594 kB / 1.355 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/1.281, allocations: 12.28 kB / 1.355 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.281, allocations: 1.125 kB / 1.355 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.281, allocations: 7.75 kB / 1.355 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.281, allocations: 1.734 kB / 1.355 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/1.282, allocations: 188.2 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.282, allocations: 0.75 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/1.282, allocations: 54.05 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.282, allocations: 1.125 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/1.282, allocations: 2.125 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.282, allocations: 0.6562 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.282, allocations: 1.188 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002354/1.282, allocations: 241.4 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002473/1.282, allocations: 0.6093 MB / 1.356 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/1.282, allocations: 90.84 kB / 1.356 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/1.282, allocations: 2.094 kB / 1.356 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/1.283, allocations: 69.41 kB / 1.356 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.283, allocations: 71.91 kB / 1.356 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/1.283, allocations: 3.859 kB / 1.356 GB, free: 13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.979e-05/1.283, allocations: 106.6 kB / 1.356 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007928/1.284, allocations: 27.25 kB / 1.356 GB, free: 12.92 MB / 0.8073 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 8.988e-05/1.284, allocations: 104.7 kB / 1.357 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002887/1.284, allocations: 198.2 kB / 1.357 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.284, allocations: 0 / 1.357 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/1.284, allocations: 139.6 kB / 1.357 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/1.285, allocations: 17.23 kB / 1.357 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/1.285, allocations: 289 kB / 1.357 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/1.285, allocations: 0.7167 MB / 1.358 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of SimCode: time 2.8e-07/1.285, allocations: 0 / 1.358 GB, free: 11.96 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1)