Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",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 1.815/1.815, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009421/0.0009424, allocations: 168.6 kB / 487 MB, free: 5.434 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.162/1.162, allocations: 221.3 MB / 0.7819 GB, free: 1.461 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.001011/0.001011, allocations: 104.7 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5387/0.5397, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.7389, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5344/1.273, allocations: 149.6 MB / 1.351 GB, free: 16.16 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/1.274, allocations: 76.94 kB / 1.351 GB, free: 16.16 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.01673/1.29, allocations: 6.721 MB / 1.358 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.29, allocations: 8.625 kB / 1.358 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.837e-05/1.29, allocations: 56.95 kB / 1.358 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/1.291, allocations: 330.5 kB / 1.358 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/1.291, allocations: 12.91 kB / 1.358 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/1.291, allocations: 27.83 kB / 1.358 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004125/1.291, allocations: 219.6 kB / 1.359 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/1.292, allocations: 324.3 kB / 1.359 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.292, allocations: 0.75 kB / 1.359 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/1.292, allocations: 5.453 kB / 1.359 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/1.292, allocations: 9.469 kB / 1.359 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/1.294, allocations: 1.195 MB / 1.36 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/1.294, allocations: 196.8 kB / 1.36 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/1.294, allocations: 125.5 kB / 1.36 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/1.294, allocations: 7.188 kB / 1.36 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/1.294, allocations: 166.8 kB / 1.361 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=28): time 1.442e-06/1.294, allocations: 0.7188 kB / 1.361 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28): time 0.0003773/1.295, allocations: 209.2 kB / 1.361 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/1.295, allocations: 133.1 kB / 1.361 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/1.295, allocations: 255.3 kB / 1.361 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.295, allocations: 27.05 kB / 1.361 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/1.295, allocations: 206.2 kB / 1.361 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/1.295, allocations: 84.91 kB / 1.362 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/1.295, allocations: 0 / 1.362 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/1.295, allocations: 346.9 kB / 1.362 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/1.295, allocations: 78.47 kB / 1.362 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/1.296, allocations: 152.6 kB / 1.362 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/1.296, allocations: 104.5 kB / 1.362 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.296, allocations: 0.5625 kB / 1.362 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004381/1.296, allocations: 276.1 kB / 1.362 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.641e-05/1.296, allocations: 0.5317 MB / 1.363 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.296, allocations: 8 kB / 1.363 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.296, allocations: 0.6562 kB / 1.363 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/1.297, allocations: 81.17 kB / 1.363 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.297, allocations: 8.734 kB / 1.363 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/1.297, allocations: 46.3 kB / 1.363 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/1.297, allocations: 8.797 kB / 1.363 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.628e-06/1.297, allocations: 4 kB / 1.363 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002679/1.297, allocations: 214 kB / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-06/1.297, allocations: 0 / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/1.297, allocations: 8.562 kB / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/1.297, allocations: 60.5 kB / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/1.297, allocations: 4.797 kB / 1.363 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/1.298, allocations: 23.03 kB / 1.363 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/1.298, allocations: 12.8 kB / 1.363 GB, free: 12.39 MB / 0.8073 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 ($whenCondition1,$whenCondition2) * 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 6.261e-05/1.298, allocations: 117 kB / 1.364 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/1.298, allocations: 27.72 kB / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/1.298, allocations: 157.1 kB / 1.364 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.298, allocations: 7.938 kB / 1.364 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.298, allocations: 0 / 1.364 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.298, allocations: 5.734 kB / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/1.299, allocations: 0.9008 MB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/1.299, allocations: 4.609 kB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/1.299, allocations: 60 kB / 1.365 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.299, allocations: 8 kB / 1.365 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/1.299, allocations: 5.484 kB / 1.365 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/1.299, allocations: 12.58 kB / 1.365 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.299, allocations: 7.984 kB / 1.365 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004674/1.3, allocations: 0.6942 MB / 1.365 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005902/1.3, allocations: 1.163 MB / 1.366 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/1.3, allocations: 119.4 kB / 1.367 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/1.301, allocations: 4.75 kB / 1.367 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/1.301, allocations: 28.72 kB / 1.367 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/1.301, allocations: 24.92 kB / 1.367 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/1.301, allocations: 16.8 kB / 1.367 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001381/1.301, allocations: 200.2 kB / 1.367 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00153/1.303, allocations: 128.2 kB / 1.367 GB, free: 9.133 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001444/1.303, allocations: 117.4 kB / 1.367 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004157/1.303, allocations: 335.1 kB / 1.367 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.303, allocations: 4.438 kB / 1.367 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/1.303, allocations: 107.6 kB / 1.368 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/1.304, allocations: 61.2 kB / 1.368 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009541/1.305, allocations: 0.5566 MB / 1.368 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/1.305, allocations: 0.8568 MB / 1.369 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of SimCode: time 2.8e-07/1.305, allocations: 0 / 1.369 GB, free: 7.363 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)