Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.322/1.323, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009115/0.0009115, allocations: 189.2 kB / 361.1 MB, free: 7.148 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.009/1.009, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007457/0.0007457, allocations: 93.52 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1731/0.1739, allocations: 121.4 MB / 0.8512 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.5797, allocations: 115.3 MB / 0.9638 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.7088, allocations: 138.7 MB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.709, allocations: 79.77 kB / 1.099 GB, free: 1.281 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.0333/0.7423, allocations: 14.42 MB / 1.113 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.7423, allocations: 8 kB / 1.113 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.7425, allocations: 122.5 kB / 1.114 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008875/0.7434, allocations: 0.5977 MB / 1.114 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.7435, allocations: 29.5 kB / 1.114 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-05/0.7436, allocations: 56 kB / 1.114 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008427/0.7444, allocations: 487.9 kB / 1.115 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.7454, allocations: 0.6676 MB / 1.115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.7455, allocations: 4 kB / 1.115 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.7455, allocations: 3.984 kB / 1.115 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.7455, allocations: 20 kB / 1.115 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.7485, allocations: 2.301 MB / 1.118 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.749, allocations: 344.5 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/0.7496, allocations: 390.4 kB / 1.118 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.7496, allocations: 8.641 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/0.75, allocations: 283.2 kB / 1.119 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 1.813e-06/0.75, allocations: 0 / 1.119 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.0007373/0.7508, allocations: 495.1 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.7508, allocations: 162.9 kB / 1.119 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.7513, allocations: 419.9 kB / 1.12 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.7513, allocations: 29.69 kB / 1.12 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.7514, allocations: 316.1 kB / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.7516, allocations: 228.5 kB / 1.12 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.7516, allocations: 4 kB / 1.12 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.7517, allocations: 382.7 kB / 1.12 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.752, allocations: 165.3 kB / 1.121 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.7523, allocations: 262.5 kB / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.7527, allocations: 203 kB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.7527, allocations: 3.984 kB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007283/0.7534, allocations: 0.5187 MB / 1.122 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.7535, allocations: 188.6 kB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.7535, allocations: 0 / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7535, allocations: 4 kB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.7541, allocations: 151.8 kB / 1.122 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.7541, allocations: 5.812 kB / 1.122 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.7545, allocations: 87.48 kB / 1.122 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.7545, allocations: 29.48 kB / 1.122 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-06/0.7545, allocations: 4 kB / 1.122 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005807/0.7551, allocations: 402.3 kB / 1.122 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.7551, allocations: 0 / 1.122 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/0.7551, allocations: 4 kB / 1.122 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.7556, allocations: 123.8 kB / 1.123 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.7556, allocations: 5.328 kB / 1.123 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.7558, allocations: 63.53 kB / 1.123 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.7559, allocations: 16 kB / 1.123 GB, free: 9.199 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.0001211/0.756, allocations: 119 kB / 1.123 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.7561, allocations: 71.16 kB / 1.123 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.7562, allocations: 74.23 kB / 1.123 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.7562, allocations: 8 kB / 1.123 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7563, allocations: 1.812 kB / 1.123 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.7563, allocations: 3.984 kB / 1.123 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.7579, allocations: 1.352 MB / 1.124 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7579, allocations: 0.8438 kB / 1.124 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.7585, allocations: 143.8 kB / 1.124 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.7585, allocations: 0 / 1.124 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.7586, allocations: 11.91 kB / 1.124 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.7586, allocations: 4 kB / 1.124 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.7586, allocations: 0 / 1.124 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001052/0.7596, allocations: 0.8562 MB / 1.125 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001423/0.7611, allocations: 1.491 MB / 1.127 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.7612, allocations: 148.1 kB / 1.127 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.7613, allocations: 0 / 1.127 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.7616, allocations: 53.7 kB / 1.127 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.7617, allocations: 36.59 kB / 1.127 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.7617, allocations: 16 kB / 1.127 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002964/0.762, allocations: 328.6 kB / 1.127 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001626/0.7637, allocations: 262.4 kB / 1.127 GB, free: 4.145 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.0001654/0.7638, allocations: 129.4 kB / 1.128 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009881/0.7648, allocations: 0.7237 MB / 1.128 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7648, allocations: 0 / 1.128 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.7651, allocations: 254.4 kB / 1.129 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.7657, allocations: 111.4 kB / 1.129 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.7676, allocations: 1.114 MB / 1.13 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000683/0.7683, allocations: 1.089 MB / 1.131 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.7683, allocations: 0 / 1.131 GB, free: 0.6719 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)