Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.815/1.815, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001042/0.001042, allocations: 180.1 kB / 490.8 MB, free: 1.906 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.154/1.154, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.0008417/0.0008417, allocations: 101.8 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4235/0.4243, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.612, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4998/1.112, allocations: 151.3 MB / 1.359 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001661/1.112, allocations: 77.64 kB / 1.359 GB, free: 17.18 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.03965/1.152, allocations: 16.84 MB / 1.376 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/1.152, allocations: 9.219 kB / 1.376 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/1.152, allocations: 118.1 kB / 1.376 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/1.153, allocations: 0.5637 MB / 1.377 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/1.153, allocations: 32.12 kB / 1.377 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.153, allocations: 59.09 kB / 1.377 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008667/1.154, allocations: 0.4915 MB / 1.377 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/1.155, allocations: 0.6689 MB / 1.378 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/1.155, allocations: 7.922 kB / 1.378 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/1.155, allocations: 5.953 kB / 1.378 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/1.155, allocations: 24.88 kB / 1.378 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/1.158, allocations: 2.552 MB / 1.38 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/1.159, allocations: 0.5571 MB / 1.381 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/1.159, allocations: 333.7 kB / 1.381 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/1.159, allocations: 8.5 kB / 1.381 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/1.16, allocations: 290.5 kB / 1.382 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=75): time 2.064e-06/1.16, allocations: 4 kB / 1.382 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75): time 0.000783/1.16, allocations: 0.5004 MB / 1.382 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/1.16, allocations: 189.9 kB / 1.382 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/1.161, allocations: 455 kB / 1.383 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/1.161, allocations: 31.61 kB / 1.383 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/1.161, allocations: 322.2 kB / 1.383 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/1.161, allocations: 245.2 kB / 1.383 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/1.161, allocations: 1.219 kB / 1.383 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.161, allocations: 390.6 kB / 1.384 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/1.162, allocations: 213.4 kB / 1.384 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/1.162, allocations: 354.6 kB / 1.384 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/1.163, allocations: 258.8 kB / 1.384 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.163, allocations: 1.062 kB / 1.384 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00106/1.164, allocations: 0.6606 MB / 1.385 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/1.164, allocations: 0.5283 MB / 1.386 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.164, allocations: 1.094 kB / 1.386 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.164, allocations: 5.25 kB / 1.386 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/1.165, allocations: 169.6 kB / 1.386 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.165, allocations: 5.156 kB / 1.386 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/1.165, allocations: 147.8 kB / 1.386 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/1.165, allocations: 33.58 kB / 1.386 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.55e-06/1.165, allocations: 3.812 kB / 1.386 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008798/1.166, allocations: 0.5265 MB / 1.386 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/1.166, allocations: 1.312 kB / 1.386 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/1.166, allocations: 5 kB / 1.386 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/1.167, allocations: 127.6 kB / 1.386 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.167, allocations: 9.281 kB / 1.387 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/1.167, allocations: 110.5 kB / 1.387 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/1.167, allocations: 34.31 kB / 1.387 GB, free: 26.73 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: 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.0001277/1.168, allocations: 122.2 kB / 1.387 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/1.168, allocations: 67.84 kB / 1.387 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/1.168, allocations: 0.5256 MB / 1.387 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.168, allocations: 8.062 kB / 1.387 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.168, allocations: 4 kB / 1.387 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.169, allocations: 7.922 kB / 1.387 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/1.17, allocations: 1.464 MB / 1.389 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.17, allocations: 6.625 kB / 1.389 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/1.171, allocations: 152.1 kB / 1.389 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.171, allocations: 9.5 kB / 1.389 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/1.171, allocations: 8.766 kB / 1.389 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.171, allocations: 9.438 kB / 1.389 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.171, allocations: 2.594 kB / 1.389 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001144/1.172, allocations: 1.044 MB / 1.39 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001663/1.174, allocations: 1.693 MB / 1.392 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/1.174, allocations: 158.7 kB / 1.392 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-05/1.174, allocations: 12.89 kB / 1.392 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/1.174, allocations: 54.17 kB / 1.392 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/1.174, allocations: 45.38 kB / 1.392 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/1.175, allocations: 20.16 kB / 1.392 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003561/1.175, allocations: 351.7 kB / 1.392 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001922/1.177, allocations: 306.8 kB / 1.393 GB, free: 24.07 MB / 0.8386 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.0001881/1.177, allocations: 135 kB / 1.393 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001261/1.178, allocations: 0.9236 MB / 1.394 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.178, allocations: 1.406 kB / 1.394 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/1.179, allocations: 269.3 kB / 1.394 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/1.179, allocations: 144 kB / 1.394 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/1.181, allocations: 1.111 MB / 1.395 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/1.182, allocations: 1.084 MB / 1.396 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.182, allocations: 0 / 1.396 GB, free: 22.39 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)