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.LimPIDInitialState.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.LimPIDInitialState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.231/1.231, allocations: 249.4 MB / 256.7 MB, free: 6.945 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.0009146/0.0009146, allocations: 185.2 kB / 316 MB, free: 3.547 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.14/1.14, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0008822/0.0008822, allocations: 85.58 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3325/0.3334, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.4924, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5084/1.001, allocations: 134.3 MB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/1.001, allocations: 77.95 kB / 1.016 GB, free: 4.285 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.03014/1.031, allocations: 8.314 MB / 1.024 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.031, allocations: 12 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/1.032, allocations: 51.34 kB / 1.024 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008356/1.032, allocations: 380.7 kB / 1.024 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/1.032, allocations: 12 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/1.033, allocations: 27.94 kB / 1.024 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006439/1.033, allocations: 228.5 kB / 1.025 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008014/1.034, allocations: 339.7 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/1.034, allocations: 0 / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/1.034, allocations: 4 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/1.034, allocations: 8 kB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/1.037, allocations: 1.528 MB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/1.038, allocations: 265.2 kB / 1.027 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/1.038, allocations: 114.1 kB / 1.027 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/1.038, allocations: 0 / 1.027 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.038, allocations: 41.69 kB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/1.038, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0006412/1.039, allocations: 219.8 kB / 1.027 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/1.039, allocations: 110.6 kB / 1.027 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/1.04, allocations: 284 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/1.04, allocations: 25.7 kB / 1.028 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/1.04, allocations: 200.7 kB / 1.028 GB, free: 10 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.518e-05/1.04, allocations: 85.53 kB / 1.028 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/1.04, allocations: 3.938 kB / 1.028 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.04, allocations: 347.9 kB / 1.028 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/1.04, allocations: 81.19 kB / 1.028 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/1.041, allocations: 161.9 kB / 1.028 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/1.041, allocations: 95.91 kB / 1.028 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.041, allocations: 0 / 1.028 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007115/1.042, allocations: 285 kB / 1.029 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002593/1.042, allocations: 0.5274 MB / 1.029 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.042, allocations: 4 kB / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.042, allocations: 0 / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/1.042, allocations: 71.91 kB / 1.029 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.042, allocations: 15.88 kB / 1.029 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/1.043, allocations: 43.77 kB / 1.029 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/1.043, allocations: 11.44 kB / 1.029 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/1.043, allocations: 7.938 kB / 1.029 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004698/1.043, allocations: 202.4 kB / 1.03 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/1.043, allocations: 4 kB / 1.03 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/1.043, allocations: 128 / 1.03 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/1.044, allocations: 63.81 kB / 1.03 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/1.044, allocations: 4 kB / 1.03 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/1.044, allocations: 27.83 kB / 1.03 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/1.044, allocations: 10.69 kB / 1.03 GB, free: 8.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001167/1.044, allocations: 109 kB / 1.03 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/1.044, allocations: 39.53 kB / 1.03 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/1.044, allocations: 40.31 kB / 1.03 GB, free: 8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.044, allocations: 0 / 1.03 GB, free: 8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.044, allocations: 0 / 1.03 GB, free: 8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/1.044, allocations: 7.984 kB / 1.03 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/1.046, allocations: 0.7723 MB / 1.031 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.046, allocations: 4 kB / 1.031 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/1.046, allocations: 60.19 kB / 1.031 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.046, allocations: 4 kB / 1.031 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/1.046, allocations: 7.062 kB / 1.031 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.046, allocations: 4 kB / 1.031 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.046, allocations: 11.84 kB / 1.031 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006752/1.047, allocations: 0.5738 MB / 1.031 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009919/1.048, allocations: 1.054 MB / 1.032 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/1.048, allocations: 120.5 kB / 1.032 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/1.048, allocations: 8 kB / 1.032 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/1.048, allocations: 23.98 kB / 1.032 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/1.048, allocations: 23.83 kB / 1.032 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/1.048, allocations: 18.92 kB / 1.032 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002327/1.048, allocations: 221.1 kB / 1.033 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001907/1.05, allocations: 127.3 kB / 1.033 GB, free: 5.188 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001749/1.051, allocations: 118.6 kB / 1.033 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005656/1.051, allocations: 332.8 kB / 1.033 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.051, allocations: 4.062 kB / 1.033 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/1.051, allocations: 102.2 kB / 1.033 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/1.052, allocations: 75.19 kB / 1.033 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/1.053, allocations: 0.5686 MB / 1.034 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/1.054, allocations: 0.858 MB / 1.035 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/1.054, allocations: 0 / 1.035 GB, free: 3.262 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)