Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.517/1.517, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001124/0.001124, allocations: 181.3 kB / 366.3 MB, free: 1.992 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.552/1.552, allocations: 205.1 MB / 0.6256 GB, free: 7.461 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.001002/0.001002, allocations: 96.77 kB / 0.7396 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.333/0.334, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7615/1.096, allocations: 116.3 MB / 0.9727 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/1.289, allocations: 143 MB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/1.29, allocations: 93.23 kB / 1.112 GB, free: 7.324 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.04602/1.336, allocations: 18.14 MB / 1.13 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.336, allocations: 8 kB / 1.13 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002393/1.336, allocations: 126.5 kB / 1.13 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/1.337, allocations: 0.6016 MB / 1.131 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/1.337, allocations: 32.84 kB / 1.131 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/1.337, allocations: 60 kB / 1.131 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001029/1.339, allocations: 0.5234 MB / 1.131 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/1.34, allocations: 0.72 MB / 1.132 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/1.34, allocations: 3.984 kB / 1.132 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/1.34, allocations: 0 / 1.132 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/1.34, allocations: 24 kB / 1.132 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/1.344, allocations: 2.512 MB / 1.135 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/1.344, allocations: 397.6 kB / 1.135 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/1.345, allocations: 319.3 kB / 1.135 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/1.345, allocations: 12.59 kB / 1.135 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004792/1.346, allocations: 308.5 kB / 1.136 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=77): time 3.106e-06/1.346, allocations: 4 kB / 1.136 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77): time 0.0009188/1.346, allocations: 0.5186 MB / 1.136 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/1.347, allocations: 162.9 kB / 1.136 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/1.347, allocations: 467.5 kB / 1.137 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/1.347, allocations: 29.69 kB / 1.137 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/1.347, allocations: 343.9 kB / 1.137 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/1.348, allocations: 256.9 kB / 1.137 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/1.348, allocations: 0 / 1.137 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.348, allocations: 386.8 kB / 1.138 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/1.348, allocations: 185.6 kB / 1.138 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/1.349, allocations: 295.5 kB / 1.138 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/1.349, allocations: 212.5 kB / 1.138 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.349, allocations: 0 / 1.138 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009329/1.35, allocations: 0.5886 MB / 1.139 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.35, allocations: 185.1 kB / 1.139 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.35, allocations: 0 / 1.139 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/1.35, allocations: 4 kB / 1.139 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/1.351, allocations: 167.8 kB / 1.139 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.351, allocations: 0 / 1.139 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004128/1.351, allocations: 95.39 kB / 1.139 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/1.351, allocations: 24 kB / 1.139 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/1.351, allocations: 10.95 kB / 1.139 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007356/1.352, allocations: 458.2 kB / 1.14 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-06/1.352, allocations: 0 / 1.14 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/1.352, allocations: 9.062 kB / 1.14 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/1.353, allocations: 139.8 kB / 1.14 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.353, allocations: 4.688 kB / 1.14 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/1.353, allocations: 63.42 kB / 1.14 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/1.353, allocations: 20 kB / 1.14 GB, free: 10.79 MB / 0.7448 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 (91): * Single equations (assignments): 91 * 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.0001703/1.353, allocations: 124.8 kB / 1.14 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.353, allocations: 75.06 kB / 1.14 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/1.353, allocations: 76.69 kB / 1.14 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.354, allocations: 11.91 kB / 1.14 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.354, allocations: 0 / 1.14 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.354, allocations: 3.984 kB / 1.14 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/1.356, allocations: 1.429 MB / 1.142 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.356, allocations: 0 / 1.142 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007422/1.356, allocations: 147.8 kB / 1.142 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/1.356, allocations: 4 kB / 1.142 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/1.356, allocations: 8.609 kB / 1.142 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/1.356, allocations: 4 kB / 1.142 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.356, allocations: 0 / 1.142 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001247/1.358, allocations: 0.9159 MB / 1.143 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001781/1.36, allocations: 1.577 MB / 1.144 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/1.36, allocations: 164 kB / 1.145 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/1.36, allocations: 3.906 kB / 1.145 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/1.36, allocations: 47.95 kB / 1.145 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/1.36, allocations: 37.53 kB / 1.145 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/1.36, allocations: 31.98 kB / 1.145 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0004743/1.361, allocations: 351.2 kB / 1.145 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002081/1.363, allocations: 282.4 kB / 1.145 GB, free: 5.43 MB / 0.7448 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 (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.0002329/1.363, allocations: 123.6 kB / 1.145 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001469/1.365, allocations: 0.7991 MB / 1.146 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.365, allocations: 0 / 1.146 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003977/1.365, allocations: 274.5 kB / 1.146 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008178/1.366, allocations: 128.8 kB / 1.147 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/1.368, allocations: 1.218 MB / 1.148 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008007/1.369, allocations: 1.113 MB / 1.149 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/1.369, allocations: 0 / 1.149 GB, free: 1.719 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)