Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.873/1.873, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.0009549/0.0009549, allocations: 182 kB / 490.8 MB, free: 1.941 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.148/1.148, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008272/0.0008272, allocations: 95.81 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4205/0.4213, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.5963, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.496/1.092, allocations: 150.4 MB / 1.359 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/1.093, allocations: 74.97 kB / 1.359 GB, free: 17.46 MB / 0.823 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.01554/1.108, allocations: 6.737 MB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.108, allocations: 11.17 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/1.108, allocations: 55.97 kB / 1.365 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/1.109, allocations: 332.3 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/1.109, allocations: 12.06 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/1.109, allocations: 23.88 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004035/1.109, allocations: 217.3 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/1.11, allocations: 328.2 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.11, allocations: 1.312 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/1.11, allocations: 1.547 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.11, allocations: 9.531 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/1.111, allocations: 1.195 MB / 1.367 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/1.112, allocations: 200.7 kB / 1.367 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/1.112, allocations: 128.3 kB / 1.368 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/1.112, allocations: 5.594 kB / 1.368 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/1.112, allocations: 160.4 kB / 1.368 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/1.112, allocations: 5.188 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0003486/1.112, allocations: 205.2 kB / 1.368 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/1.112, allocations: 132.5 kB / 1.368 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/1.113, allocations: 253.6 kB / 1.368 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/1.113, allocations: 27.14 kB / 1.368 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/1.113, allocations: 203.3 kB / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/1.113, allocations: 87.8 kB / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/1.113, allocations: 0 / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.113, allocations: 346 kB / 1.369 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/1.113, allocations: 85.12 kB / 1.369 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/1.113, allocations: 161.2 kB / 1.369 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/1.113, allocations: 104.9 kB / 1.369 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.113, allocations: 0 / 1.369 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003909/1.114, allocations: 276.2 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/1.114, allocations: 0.5248 MB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.114, allocations: 2.219 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/1.114, allocations: 7.219 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/1.114, allocations: 69.19 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/1.114, allocations: 4.031 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/1.115, allocations: 54.22 kB / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/1.115, allocations: 14.47 kB / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.892e-06/1.115, allocations: 2.969 kB / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002985/1.115, allocations: 201.1 kB / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/1.115, allocations: 1.562 kB / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-06/1.115, allocations: 8.094 kB / 1.37 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/1.115, allocations: 58.25 kB / 1.37 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.115, allocations: 11.23 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/1.115, allocations: 24.78 kB / 1.371 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/1.115, allocations: 14.11 kB / 1.371 GB, free: 30.01 MB / 0.8386 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 8.913e-05/1.115, allocations: 110.4 kB / 1.371 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/1.115, allocations: 31.08 kB / 1.371 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/1.116, allocations: 160.2 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.116, allocations: 7.781 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.116, allocations: 4 kB / 1.371 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/1.116, allocations: 2.859 kB / 1.371 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/1.117, allocations: 0.911 MB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.117, allocations: 4.031 kB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/1.117, allocations: 57.23 kB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.117, allocations: 6.516 kB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/1.117, allocations: 3.844 kB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.117, allocations: 6.016 kB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.117, allocations: 8.031 kB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005481/1.118, allocations: 0.6927 MB / 1.372 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007475/1.118, allocations: 1.176 MB / 1.374 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/1.119, allocations: 113.1 kB / 1.374 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/1.119, allocations: 7.156 kB / 1.374 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/1.119, allocations: 26.14 kB / 1.374 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/1.119, allocations: 21.77 kB / 1.374 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/1.119, allocations: 14.02 kB / 1.374 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001738/1.119, allocations: 202.6 kB / 1.374 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001574/1.121, allocations: 129.7 kB / 1.374 GB, free: 27.68 MB / 0.8386 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.0001217/1.121, allocations: 111.7 kB / 1.374 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004764/1.121, allocations: 336.9 kB / 1.375 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.121, allocations: 0 / 1.375 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/1.121, allocations: 106.8 kB / 1.375 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/1.122, allocations: 55.67 kB / 1.375 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/1.123, allocations: 0.5533 MB / 1.375 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/1.123, allocations: 0.8518 MB / 1.376 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.123, allocations: 0 / 1.376 GB, free: 26.55 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)