Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.154/2.154, allocations: 284.8 MB / 292.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 181.3 kB / 360.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 0.6187 GB, free: 13.25 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001215, allocations: 85.72 kB / 0.7317 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2448/0.2461, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/0.797, allocations: 115.2 MB / 0.9628 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/1.005, allocations: 138.5 MB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/1.005, allocations: 75.95 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.05896/1.064, allocations: 14.43 MB / 1.112 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.064, allocations: 8 kB / 1.112 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/1.064, allocations: 122.5 kB / 1.112 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/1.066, allocations: 0.59 MB / 1.113 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/1.066, allocations: 28 kB / 1.113 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/1.066, allocations: 60 kB / 1.113 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001576/1.068, allocations: 487.9 kB / 1.113 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/1.07, allocations: 0.6637 MB / 1.114 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/1.07, allocations: 4 kB / 1.114 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/1.07, allocations: 3.984 kB / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/1.07, allocations: 20.84 kB / 1.114 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005479/1.075, allocations: 2.309 MB / 1.116 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008681/1.076, allocations: 340.5 kB / 1.117 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/1.077, allocations: 390.4 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.368e-05/1.077, allocations: 4.656 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008084/1.078, allocations: 287.2 kB / 1.117 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.677e-06/1.078, allocations: 3.938 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.001349/1.08, allocations: 487.1 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.08, allocations: 170.9 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007762/1.081, allocations: 418 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.997e-05/1.081, allocations: 25.7 kB / 1.118 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/1.081, allocations: 316.1 kB / 1.119 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/1.081, allocations: 228.5 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/1.081, allocations: 0 / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000222/1.081, allocations: 386.7 kB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/1.082, allocations: 165.3 kB / 1.119 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/1.083, allocations: 262.5 kB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/1.083, allocations: 211 kB / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.083, allocations: 0 / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001425/1.085, allocations: 0.5226 MB / 1.12 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.613e-05/1.085, allocations: 181.8 kB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.085, allocations: 0 / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/1.085, allocations: 9.531 kB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.086, allocations: 151.8 kB / 1.121 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/1.086, allocations: 8 kB / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/1.087, allocations: 83.55 kB / 1.121 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/1.087, allocations: 23.98 kB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.087, allocations: 0 / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/1.088, allocations: 410.3 kB / 1.121 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.088, allocations: 0 / 1.121 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/1.088, allocations: 4 kB / 1.121 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009711/1.089, allocations: 119.8 kB / 1.121 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/1.089, allocations: 4 kB / 1.121 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/1.09, allocations: 63.53 kB / 1.121 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/1.09, allocations: 16 kB / 1.121 GB, free: 10.2 MB / 0.7292 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 (79): * Single equations (assignments): 79 * 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 0.0002274/1.09, allocations: 126.9 kB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/1.09, allocations: 67.16 kB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/1.091, allocations: 70.23 kB / 1.122 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.091, allocations: 15.94 kB / 1.122 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/1.091, allocations: 0 / 1.122 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/1.091, allocations: 3.984 kB / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/1.094, allocations: 1.348 MB / 1.123 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.094, allocations: 0 / 1.123 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.095, allocations: 147.8 kB / 1.123 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/1.095, allocations: 0 / 1.123 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/1.096, allocations: 11.91 kB / 1.123 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/1.096, allocations: 6.375 kB / 1.123 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.096, allocations: 0 / 1.123 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00207/1.098, allocations: 0.8581 MB / 1.124 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002949/1.101, allocations: 1.486 MB / 1.125 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/1.101, allocations: 152.1 kB / 1.126 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/1.101, allocations: 7.984 kB / 1.126 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000701/1.102, allocations: 43.97 kB / 1.126 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/1.102, allocations: 40.53 kB / 1.126 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/1.102, allocations: 16 kB / 1.126 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0006306/1.103, allocations: 322.9 kB / 1.126 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002645/1.105, allocations: 262.4 kB / 1.126 GB, free: 5.137 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (69): * Single equations (assignments): 69 * 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.0002491/1.105, allocations: 130.4 kB / 1.126 GB, free: 5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001988/1.107, allocations: 0.7197 MB / 1.127 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.107, allocations: 4 kB / 1.127 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006165/1.108, allocations: 254.4 kB / 1.127 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/1.109, allocations: 100.8 kB / 1.127 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/1.113, allocations: 1.126 MB / 1.129 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.114, allocations: 1.081 MB / 1.13 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of SimCode: time 1.282e-06/1.114, allocations: 0 / 1.13 GB, free: 1.676 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)