Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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 7.0.3-maint.7.0.x/package.mo): time 1.236/1.236, allocations: 249.4 MB / 256.7 MB, free: 7.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009731/0.0009732, allocations: 180.4 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008359/0.000836, allocations: 87.33 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3367/0.3376, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.49, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4752/0.9652, allocations: 134.8 MB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.9655, allocations: 80.02 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.04462/1.01, allocations: 19.25 MB / 1.035 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/1.01, allocations: 8 kB / 1.035 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/1.01, allocations: 134.4 kB / 1.035 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009495/1.011, allocations: 0.6462 MB / 1.036 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/1.011, allocations: 32 kB / 1.036 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.885e-05/1.011, allocations: 60 kB / 1.036 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000901/1.012, allocations: 0.5344 MB / 1.037 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/1.014, allocations: 0.7652 MB / 1.037 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/1.014, allocations: 0 / 1.037 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/1.014, allocations: 3.906 kB / 1.037 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/1.014, allocations: 24 kB / 1.037 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00362/1.017, allocations: 3.2 MB / 1.041 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/1.018, allocations: 391.5 kB / 1.041 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/1.018, allocations: 329.7 kB / 1.041 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/1.018, allocations: 8.656 kB / 1.041 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/1.019, allocations: 294.8 kB / 1.041 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/1.019, allocations: 0 / 1.041 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.0007697/1.02, allocations: 0.5177 MB / 1.042 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/1.02, allocations: 162.9 kB / 1.042 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/1.02, allocations: 0.4954 MB / 1.043 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/1.02, allocations: 28.33 kB / 1.043 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/1.02, allocations: 360.8 kB / 1.043 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/1.021, allocations: 248 kB / 1.043 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/1.021, allocations: 4 kB / 1.043 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.021, allocations: 339.8 kB / 1.044 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/1.021, allocations: 181.7 kB / 1.044 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/1.021, allocations: 308.8 kB / 1.044 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/1.022, allocations: 232.6 kB / 1.044 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.022, allocations: 0 / 1.044 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008757/1.023, allocations: 0.6003 MB / 1.045 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000201/1.023, allocations: 453.5 kB / 1.045 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.023, allocations: 7.984 kB / 1.045 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.023, allocations: 4 kB / 1.045 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/1.024, allocations: 163.2 kB / 1.045 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.024, allocations: 4 kB / 1.045 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/1.024, allocations: 91.39 kB / 1.046 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/1.024, allocations: 30.05 kB / 1.046 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/1.024, allocations: 4 kB / 1.046 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006647/1.025, allocations: 479.6 kB / 1.046 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.025, allocations: 8 kB / 1.046 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.972e-06/1.025, allocations: 4 kB / 1.046 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/1.025, allocations: 134 kB / 1.046 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/1.025, allocations: 4 kB / 1.046 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/1.026, allocations: 67.53 kB / 1.046 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/1.026, allocations: 23.12 kB / 1.046 GB, free: 10.62 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,greEquThr.y,intWitRes4.trigger_internal,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * 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.0001338/1.026, allocations: 120.1 kB / 1.046 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/1.026, allocations: 78.97 kB / 1.046 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/1.026, allocations: 88.06 kB / 1.047 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.026, allocations: 8 kB / 1.047 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.026, allocations: 0 / 1.047 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.026, allocations: 3.984 kB / 1.047 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/1.028, allocations: 1.43 MB / 1.048 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.028, allocations: 0 / 1.048 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/1.029, allocations: 143.2 kB / 1.048 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.029, allocations: 7.938 kB / 1.048 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/1.029, allocations: 11.5 kB / 1.048 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/1.029, allocations: 3.906 kB / 1.048 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.029, allocations: 0 / 1.048 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001089/1.03, allocations: 0.9175 MB / 1.049 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001555/1.031, allocations: 1.579 MB / 1.051 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/1.031, allocations: 159 kB / 1.051 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.732e-05/1.031, allocations: 4 kB / 1.051 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/1.032, allocations: 47.97 kB / 1.051 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/1.032, allocations: 38.28 kB / 1.051 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/1.032, allocations: 26.61 kB / 1.051 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003737/1.032, allocations: 376.4 kB / 1.051 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00179/1.034, allocations: 306.2 kB / 1.051 GB, free: 6.445 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (greEquThr.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001713/1.034, allocations: 117.8 kB / 1.052 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001078/1.035, allocations: 0.8171 MB / 1.052 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.035, allocations: 0 / 1.052 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003329/1.036, allocations: 269.7 kB / 1.053 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/1.037, allocations: 168.9 kB / 1.053 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/1.039, allocations: 1.265 MB / 1.054 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008011/1.039, allocations: 1.127 MB / 1.055 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of SimCode: time 7.12e-07/1.039, allocations: 0 / 1.055 GB, free: 3.141 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)