Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",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.826/1.826, 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.001041/0.001041, allocations: 181.3 kB / 487 MB, free: 5.379 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.179/1.179, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.0008585/0.0008585, allocations: 102.1 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4307/0.4316, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.6188, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5235/1.142, allocations: 150.5 MB / 1.352 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/1.143, allocations: 81.67 kB / 1.352 GB, free: 15.86 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.04015/1.183, allocations: 16.83 MB / 1.369 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.183, allocations: 12 kB / 1.369 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/1.183, allocations: 118.6 kB / 1.369 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007164/1.184, allocations: 0.5672 MB / 1.369 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/1.184, allocations: 24 kB / 1.37 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-05/1.184, allocations: 67.58 kB / 1.37 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007553/1.185, allocations: 0.4895 MB / 1.37 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009336/1.186, allocations: 0.6726 MB / 1.371 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/1.186, allocations: 4 kB / 1.371 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/1.186, allocations: 0 / 1.371 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/1.186, allocations: 20 kB / 1.371 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/1.188, allocations: 2.555 MB / 1.373 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008186/1.189, allocations: 0.5598 MB / 1.374 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/1.189, allocations: 324.6 kB / 1.374 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/1.19, allocations: 16.23 kB / 1.374 GB, free: 4.406 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/1.19, allocations: 289.5 kB / 1.374 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=75): time 1.914e-06/1.19, allocations: 0 / 1.374 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of matching and sorting (n=75): time 0.0006601/1.191, allocations: 0.5013 MB / 1.375 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.191, allocations: 192.6 kB / 1.375 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/1.191, allocations: 464.2 kB / 1.375 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/1.191, allocations: 40.94 kB / 1.376 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/1.191, allocations: 319.3 kB / 1.376 GB, free: 2.926 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/1.191, allocations: 239.8 kB / 1.376 GB, free: 2.715 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/1.191, allocations: 4 kB / 1.376 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/1.191, allocations: 381.2 kB / 1.376 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/1.192, allocations: 214.1 kB / 1.377 GB, free: 2.246 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/1.192, allocations: 351.4 kB / 1.377 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/1.193, allocations: 261.2 kB / 1.377 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.193, allocations: 0 / 1.377 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.000983/1.194, allocations: 0.6612 MB / 1.378 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.865e-05/1.194, allocations: 0.5297 MB / 1.378 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.194, allocations: 0 / 1.378 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.194, allocations: 4 kB / 1.378 GB, free: 0.7578 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/1.194, allocations: 170.5 kB / 1.379 GB, free: 0.5977 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.194, allocations: 11.92 kB / 1.379 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/1.195, allocations: 151.3 kB / 1.379 GB, free: 448 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/1.195, allocations: 26.11 kB / 1.379 GB, free: 428 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/1.195, allocations: 4 kB / 1.379 GB, free: 424 kB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008138/1.196, allocations: 0.5233 MB / 1.379 GB, free: 56 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/1.196, allocations: 4 kB / 1.379 GB, free: 52 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/1.196, allocations: 4 kB / 1.379 GB, free: 48 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/1.196, allocations: 134.6 kB / 1.379 GB, free: 15.92 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.196, allocations: 8 kB / 1.379 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/1.197, allocations: 103.5 kB / 1.379 GB, free: 15.81 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/1.197, allocations: 22.94 kB / 1.379 GB, free: 15.79 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 0.0001431/1.197, allocations: 130.3 kB / 1.38 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/1.197, allocations: 67.16 kB / 1.38 GB, free: 15.59 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007949/1.198, allocations: 0.5311 MB / 1.38 GB, free: 15.23 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/1.198, allocations: 8 kB / 1.38 GB, free: 15.22 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.198, allocations: 3.906 kB / 1.38 GB, free: 15.22 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.198, allocations: 7.984 kB / 1.38 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/1.2, allocations: 1.461 MB / 1.382 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.2, allocations: 0 / 1.382 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/1.2, allocations: 155.5 kB / 1.382 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/1.2, allocations: 4 kB / 1.382 GB, free: 13.94 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/1.201, allocations: 15.12 kB / 1.382 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/1.201, allocations: 15.92 kB / 1.382 GB, free: 13.91 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.201, allocations: 0 / 1.382 GB, free: 13.91 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001092/1.202, allocations: 1.044 MB / 1.383 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001554/1.203, allocations: 1.685 MB / 1.384 GB, free: 11.66 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/1.203, allocations: 166.1 kB / 1.385 GB, free: 11.49 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/1.203, allocations: 4.25 kB / 1.385 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/1.204, allocations: 55.95 kB / 1.385 GB, free: 11.43 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/1.204, allocations: 47.88 kB / 1.385 GB, free: 11.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/1.204, allocations: 30.61 kB / 1.385 GB, free: 11.37 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003644/1.204, allocations: 347.1 kB / 1.385 GB, free: 11.12 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001843/1.206, allocations: 309.5 kB / 1.385 GB, free: 10.82 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002263/1.206, allocations: 133.8 kB / 1.386 GB, free: 10.69 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001259/1.208, allocations: 0.9177 MB / 1.386 GB, free: 10.06 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.208, allocations: 4 kB / 1.386 GB, free: 10.05 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/1.208, allocations: 268 kB / 1.387 GB, free: 9.875 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/1.209, allocations: 138.9 kB / 1.387 GB, free: 9.758 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/1.211, allocations: 1.118 MB / 1.388 GB, free: 8.723 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006938/1.211, allocations: 1.076 MB / 1.389 GB, free: 7.621 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/1.211, allocations: 0 / 1.389 GB, free: 7.621 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)