Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",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.83/1.83, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009821/0.0009823, allocations: 176.3 kB / 487 MB, free: 5.391 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.158/1.158, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0009033/0.0009033, allocations: 95.06 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.417/0.4179, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.6056, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5101/1.116, allocations: 150.1 MB / 1.352 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/1.116, allocations: 79.06 kB / 1.352 GB, free: 15.95 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.03405/1.15, allocations: 14.46 MB / 1.366 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/1.15, allocations: 13 kB / 1.366 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/1.15, allocations: 114.6 kB / 1.366 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/1.151, allocations: 0.5331 MB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/1.151, allocations: 32 kB / 1.367 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/1.151, allocations: 63.72 kB / 1.367 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007612/1.152, allocations: 493.6 kB / 1.367 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/1.153, allocations: 0.687 MB / 1.368 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.153, allocations: 0 / 1.368 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/1.153, allocations: 0 / 1.368 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/1.153, allocations: 24 kB / 1.368 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/1.155, allocations: 2.41 MB / 1.37 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/1.156, allocations: 371.8 kB / 1.371 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/1.156, allocations: 433.6 kB / 1.371 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/1.156, allocations: 8.656 kB / 1.371 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/1.157, allocations: 305.7 kB / 1.371 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 1.734e-06/1.157, allocations: 0 / 1.371 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of matching and sorting (n=77): time 0.0006672/1.158, allocations: 0.5003 MB / 1.372 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/1.158, allocations: 162.9 kB / 1.372 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/1.158, allocations: 399.1 kB / 1.372 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/1.158, allocations: 33.69 kB / 1.373 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/1.158, allocations: 315.6 kB / 1.373 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/1.158, allocations: 251.7 kB / 1.373 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/1.158, allocations: 0 / 1.373 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/1.158, allocations: 379.8 kB / 1.373 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/1.159, allocations: 176.9 kB / 1.374 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/1.159, allocations: 289.1 kB / 1.374 GB, free: 4.406 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/1.159, allocations: 216.3 kB / 1.374 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/1.159, allocations: 0 / 1.374 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.000674/1.16, allocations: 0.5592 MB / 1.375 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/1.16, allocations: 191.4 kB / 1.375 GB, free: 3.672 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/1.16, allocations: 4 kB / 1.375 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.16, allocations: 4 kB / 1.375 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/1.161, allocations: 175.3 kB / 1.375 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.161, allocations: 0 / 1.375 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/1.161, allocations: 95.47 kB / 1.375 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/1.161, allocations: 22.38 kB / 1.375 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-06/1.161, allocations: 4 kB / 1.375 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005513/1.162, allocations: 452.4 kB / 1.376 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/1.162, allocations: 0 / 1.376 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.07e-06/1.162, allocations: 4 kB / 1.376 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/1.162, allocations: 142.6 kB / 1.376 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/1.162, allocations: 4.078 kB / 1.376 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/1.162, allocations: 67.44 kB / 1.376 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/1.162, allocations: 27.23 kB / 1.376 GB, free: 2.852 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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 9.59e-05/1.162, allocations: 126.9 kB / 1.376 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/1.163, allocations: 71.14 kB / 1.376 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007183/1.163, allocations: 0.5261 MB / 1.376 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.163, allocations: 8 kB / 1.376 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.163, allocations: 0 / 1.376 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.163, allocations: 7.969 kB / 1.376 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/1.165, allocations: 1.474 MB / 1.378 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.165, allocations: 4 kB / 1.378 GB, free: 1.152 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/1.165, allocations: 150.8 kB / 1.378 GB, free: 1.012 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/1.165, allocations: 8.031 kB / 1.378 GB, free: 1.004 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/1.166, allocations: 7.984 kB / 1.378 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.166, allocations: 4 kB / 1.378 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.166, allocations: 7.938 kB / 1.378 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009316/1.166, allocations: 1.002 MB / 1.379 GB, free: 196 kB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001524/1.168, allocations: 1.665 MB / 1.381 GB, free: 14.85 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/1.168, allocations: 147.6 kB / 1.381 GB, free: 14.69 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/1.168, allocations: 7.938 kB / 1.381 GB, free: 14.69 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/1.169, allocations: 55.95 kB / 1.381 GB, free: 14.63 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/1.169, allocations: 44 kB / 1.381 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/1.169, allocations: 27.5 kB / 1.381 GB, free: 14.57 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002901/1.169, allocations: 305.3 kB / 1.381 GB, free: 14.35 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00181/1.171, allocations: 278.3 kB / 1.382 GB, free: 14.08 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.0002147/1.171, allocations: 124.8 kB / 1.382 GB, free: 13.95 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.172, allocations: 0.7879 MB / 1.382 GB, free: 13.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.172, allocations: 0 / 1.382 GB, free: 13.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003228/1.172, allocations: 274.8 kB / 1.383 GB, free: 13.24 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/1.173, allocations: 104.7 kB / 1.383 GB, free: 13.16 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/1.175, allocations: 1.168 MB / 1.384 GB, free: 12.09 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006727/1.176, allocations: 1.083 MB / 1.385 GB, free: 10.98 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.176, allocations: 4 kB / 1.385 GB, free: 10.98 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)