Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.374/1.374, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.001122/0.001122, allocations: 185.3 kB / 361.1 MB, free: 7.113 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.072/1.072, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008486/0.0008486, allocations: 92.75 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1946/0.1955, allocations: 121.5 MB / 0.8512 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.6484, allocations: 115.3 MB / 0.9638 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1444/0.7928, allocations: 142.1 MB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.7931, allocations: 85.48 kB / 1.103 GB, free: 13.83 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.04354/0.8366, allocations: 18.14 MB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.8367, allocations: 12.5 kB / 1.12 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.837, allocations: 126.5 kB / 1.12 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.8382, allocations: 0.6016 MB / 1.121 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.8382, allocations: 32 kB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.8384, allocations: 56 kB / 1.121 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001113/0.8395, allocations: 0.5273 MB / 1.122 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.8407, allocations: 0.7183 MB / 1.122 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.8407, allocations: 1.438 kB / 1.122 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.8408, allocations: 0 / 1.122 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.8408, allocations: 24 kB / 1.122 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00395/0.8448, allocations: 2.52 MB / 1.125 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/0.8455, allocations: 393.5 kB / 1.125 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.846, allocations: 322.5 kB / 1.125 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.804e-05/0.8461, allocations: 8.656 kB / 1.126 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004557/0.8465, allocations: 311.1 kB / 1.126 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=77): time 2.655e-06/0.8465, allocations: 0 / 1.126 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77): time 0.0008554/0.8474, allocations: 0.5186 MB / 1.126 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.8475, allocations: 165.2 kB / 1.126 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/0.8481, allocations: 467.5 kB / 1.127 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.8481, allocations: 29.64 kB / 1.127 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.8484, allocations: 347.9 kB / 1.127 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.8486, allocations: 256.1 kB / 1.128 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.8486, allocations: 4 kB / 1.128 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.8488, allocations: 382.8 kB / 1.128 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.8491, allocations: 189.5 kB / 1.128 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.8495, allocations: 283.6 kB / 1.128 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.8499, allocations: 224.5 kB / 1.129 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8499, allocations: 4 kB / 1.129 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008908/0.8508, allocations: 0.5837 MB / 1.129 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-05/0.8509, allocations: 181.1 kB / 1.129 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8509, allocations: 4.031 kB / 1.129 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8509, allocations: 4 kB / 1.129 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.8516, allocations: 167.8 kB / 1.129 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.8516, allocations: 14.66 kB / 1.129 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.852, allocations: 91.39 kB / 1.13 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.8521, allocations: 20 kB / 1.13 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.8521, allocations: 4 kB / 1.13 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007031/0.8528, allocations: 466.3 kB / 1.13 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.8528, allocations: 0 / 1.13 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.782e-06/0.8528, allocations: 4 kB / 1.13 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.8533, allocations: 135.8 kB / 1.13 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.8533, allocations: 4.75 kB / 1.13 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.8536, allocations: 67.44 kB / 1.13 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.8537, allocations: 24 kB / 1.13 GB, free: 1.312 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 (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.0001597/0.8538, allocations: 112.9 kB / 1.13 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.8539, allocations: 75.06 kB / 1.13 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.8541, allocations: 79.67 kB / 1.131 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.8541, allocations: 12.78 kB / 1.131 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.8541, allocations: 4 kB / 1.131 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.8542, allocations: 5.953 kB / 1.131 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.8563, allocations: 1.424 MB / 1.132 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8563, allocations: 0 / 1.132 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006382/0.8569, allocations: 151.8 kB / 1.132 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.857, allocations: 5.75 kB / 1.132 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.857, allocations: 0 / 1.132 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.857, allocations: 4 kB / 1.132 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.857, allocations: 0 / 1.132 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001243/0.8583, allocations: 0.9191 MB / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00172/0.86, allocations: 1.576 MB / 1.135 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.8601, allocations: 160 kB / 1.135 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/0.8602, allocations: 7.906 kB / 1.135 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.8606, allocations: 51.95 kB / 1.135 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.8607, allocations: 32.61 kB / 1.135 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.8607, allocations: 23.98 kB / 1.135 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0003894/0.8611, allocations: 355.2 kB / 1.135 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001848/0.863, allocations: 294.4 kB / 1.135 GB, free: 11.95 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.0001812/0.8632, allocations: 122.8 kB / 1.136 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.8644, allocations: 0.8031 MB / 1.136 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8644, allocations: 4.062 kB / 1.136 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.8648, allocations: 274.4 kB / 1.137 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.8654, allocations: 127.5 kB / 1.137 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.8679, allocations: 1.214 MB / 1.138 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008653/0.8687, allocations: 1.109 MB / 1.139 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.8688, allocations: 4 kB / 1.139 GB, free: 8.234 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)