Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.347/1.347, allocations: 289.8 MB / 297.1 MB, free: 12.73 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 186 kB / 366.3 MB, free: 12.02 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.069/1.069, allocations: 205.1 MB / 0.6256 GB, free: 2.086 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000857/0.0008571, allocations: 74.44 kB / 0.7395 GB, free: 46.99 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2005/0.2014, allocations: 122.5 MB / 0.8591 GB, free: 7.125 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.6604, allocations: 116.3 MB / 0.9727 GB, free: 81.61 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1444/0.8049, allocations: 139.7 MB / 1.109 GB, free: 4.434 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.8052, allocations: 74.36 kB / 1.109 GB, free: 4.363 MB / 0.7059 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.03377/0.8389, allocations: 14.43 MB / 1.123 GB, free: 5.977 MB / 0.7215 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.839, allocations: 15.98 kB / 1.123 GB, free: 5.961 MB / 0.7215 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.8392, allocations: 114.6 kB / 1.123 GB, free: 5.848 MB / 0.7215 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009649/0.8402, allocations: 0.5983 MB / 1.124 GB, free: 5.203 MB / 0.7215 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.8402, allocations: 28.88 kB / 1.124 GB, free: 5.176 MB / 0.7215 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.8403, allocations: 52 kB / 1.124 GB, free: 5.125 MB / 0.7215 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008259/0.8411, allocations: 487.9 kB / 1.124 GB, free: 4.648 MB / 0.7215 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.8421, allocations: 0.6715 MB / 1.125 GB, free: 3.953 MB / 0.7215 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.8422, allocations: 0 / 1.125 GB, free: 3.953 MB / 0.7215 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.8422, allocations: 1.219 kB / 1.125 GB, free: 3.953 MB / 0.7215 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.8423, allocations: 24 kB / 1.125 GB, free: 3.93 MB / 0.7215 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.8451, allocations: 2.305 MB / 1.127 GB, free: 1.566 MB / 0.7215 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.8456, allocations: 344.4 kB / 1.128 GB, free: 1.223 MB / 0.7215 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.8462, allocations: 392.1 kB / 1.128 GB, free: 0.8398 MB / 0.7215 GB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.8463, allocations: 12.64 kB / 1.128 GB, free: 0.8281 MB / 0.7215 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003832/0.8467, allocations: 279.7 kB / 1.128 GB, free: 0.5469 MB / 0.7215 GB Notification: Performance of pre-optimization done (n=69): time 1.703e-06/0.8467, allocations: 0 / 1.128 GB, free: 0.5469 MB / 0.7215 GB Notification: Performance of matching and sorting (n=69): time 0.0007081/0.8474, allocations: 487.2 kB / 1.129 GB, free: 64 kB / 0.7215 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.8475, allocations: 162.9 kB / 1.129 GB, free: 15.86 MB / 0.7371 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.8479, allocations: 422.1 kB / 1.129 GB, free: 15.45 MB / 0.7371 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.8479, allocations: 25.7 kB / 1.129 GB, free: 15.42 MB / 0.7371 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.8481, allocations: 324.1 kB / 1.13 GB, free: 15.09 MB / 0.7371 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.8482, allocations: 230 kB / 1.13 GB, free: 14.87 MB / 0.7371 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.8482, allocations: 0 / 1.13 GB, free: 14.87 MB / 0.7371 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.8484, allocations: 378.7 kB / 1.13 GB, free: 14.49 MB / 0.7371 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.8486, allocations: 173.3 kB / 1.13 GB, free: 14.32 MB / 0.7371 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.849, allocations: 262.5 kB / 1.131 GB, free: 14.03 MB / 0.7371 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.8493, allocations: 199.1 kB / 1.131 GB, free: 13.84 MB / 0.7371 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.8493, allocations: 0 / 1.131 GB, free: 13.84 MB / 0.7371 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007259/0.85, allocations: 0.5148 MB / 1.131 GB, free: 13.32 MB / 0.7371 GB Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/0.8501, allocations: 189.2 kB / 1.132 GB, free: 13.12 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.8501, allocations: 4 kB / 1.132 GB, free: 13.11 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8501, allocations: 3.984 kB / 1.132 GB, free: 13.11 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.8507, allocations: 156.5 kB / 1.132 GB, free: 12.96 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.8507, allocations: 0 / 1.132 GB, free: 12.96 MB / 0.7371 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.8511, allocations: 83.55 kB / 1.132 GB, free: 12.88 MB / 0.7371 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.8512, allocations: 28 kB / 1.132 GB, free: 12.85 MB / 0.7371 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.8512, allocations: 5.031 kB / 1.132 GB, free: 12.84 MB / 0.7371 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006106/0.8518, allocations: 402.3 kB / 1.132 GB, free: 12.45 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.8518, allocations: 4 kB / 1.132 GB, free: 12.45 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.8518, allocations: 0 / 1.132 GB, free: 12.45 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.8523, allocations: 128.6 kB / 1.132 GB, free: 12.32 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.8523, allocations: 0 / 1.132 GB, free: 12.32 MB / 0.7371 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.8525, allocations: 63.53 kB / 1.132 GB, free: 12.26 MB / 0.7371 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.8526, allocations: 20 kB / 1.132 GB, free: 12.24 MB / 0.7371 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.0001104/0.8527, allocations: 125.6 kB / 1.133 GB, free: 12.11 MB / 0.7371 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.8528, allocations: 67.16 kB / 1.133 GB, free: 12.05 MB / 0.7371 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.8529, allocations: 74.23 kB / 1.133 GB, free: 11.97 MB / 0.7371 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.8529, allocations: 5.594 kB / 1.133 GB, free: 11.96 MB / 0.7371 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8529, allocations: 3.938 kB / 1.133 GB, free: 11.96 MB / 0.7371 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.8529, allocations: 7.984 kB / 1.133 GB, free: 11.95 MB / 0.7371 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.8546, allocations: 1.344 MB / 1.134 GB, free: 10.56 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8547, allocations: 0.6875 kB / 1.134 GB, free: 10.56 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.8553, allocations: 139.8 kB / 1.134 GB, free: 10.43 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.8553, allocations: 4 kB / 1.134 GB, free: 10.42 MB / 0.7371 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.8553, allocations: 11.89 kB / 1.134 GB, free: 10.41 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.8553, allocations: 4 kB / 1.134 GB, free: 10.41 MB / 0.7371 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.8553, allocations: 1.375 kB / 1.134 GB, free: 10.41 MB / 0.7371 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001049/0.8564, allocations: 0.8523 MB / 1.135 GB, free: 9.539 MB / 0.7371 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001415/0.8578, allocations: 1.49 MB / 1.136 GB, free: 8.027 MB / 0.7371 GB Notification: Performance of postOpt removeConstants (simulation): time 9.57e-05/0.8579, allocations: 152.1 kB / 1.137 GB, free: 7.859 MB / 0.7371 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.858, allocations: 0.8438 kB / 1.137 GB, free: 7.859 MB / 0.7371 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.8584, allocations: 55.95 kB / 1.137 GB, free: 7.805 MB / 0.7371 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.8584, allocations: 28.61 kB / 1.137 GB, free: 7.777 MB / 0.7371 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.8585, allocations: 23.98 kB / 1.137 GB, free: 7.754 MB / 0.7371 GB Notification: Performance of sort global known variables: time 0.0002955/0.8588, allocations: 319 kB / 1.137 GB, free: 7.445 MB / 0.7371 GB Notification: Performance of remove unused functions: time 0.001757/0.8605, allocations: 270.9 kB / 1.137 GB, free: 7.18 MB / 0.7371 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.0001731/0.8607, allocations: 124.6 kB / 1.137 GB, free: 7.051 MB / 0.7371 GB Notification: Performance of simCode: created initialization part: time 0.0009936/0.8617, allocations: 0.7236 MB / 1.138 GB, free: 6.328 MB / 0.7371 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8617, allocations: 0 / 1.138 GB, free: 6.328 MB / 0.7371 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.8621, allocations: 255.1 kB / 1.138 GB, free: 6.082 MB / 0.7371 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.8626, allocations: 113.1 kB / 1.138 GB, free: 5.977 MB / 0.7371 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.8645, allocations: 1.126 MB / 1.14 GB, free: 4.828 MB / 0.7371 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006792/0.8652, allocations: 1.077 MB / 1.141 GB, free: 3.719 MB / 0.7371 GB Notification: Performance of SimCode: time 2.6e-07/0.8652, allocations: 0 / 1.141 GB, free: 3.719 MB / 0.7371 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)