Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.LimPID,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",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.61/1.61, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001374/0.001374, allocations: 181.3 kB / 366.3 MB, free: 1.996 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.673/1.673, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.001057/0.001056, allocations: 84.27 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.315/0.3161, allocations: 122.5 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7073/1.023, allocations: 116.3 MB / 0.9727 GB, free: 68.47 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/1.214, allocations: 143 MB / 1.112 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.215, allocations: 88.56 kB / 1.112 GB, free: 5.457 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.07038/1.285, allocations: 25.48 MB / 1.137 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/1.285, allocations: 12 kB / 1.137 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006773/1.286, allocations: 163.9 kB / 1.137 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/1.288, allocations: 0.7854 MB / 1.138 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/1.288, allocations: 43.91 kB / 1.138 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/1.288, allocations: 71.98 kB / 1.138 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001584/1.29, allocations: 0.6448 MB / 1.139 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/1.292, allocations: 0.8581 MB / 1.14 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/1.292, allocations: 0 / 1.14 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/1.292, allocations: 12 kB / 1.14 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/1.292, allocations: 27.91 kB / 1.14 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006118/1.298, allocations: 3.516 MB / 1.143 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/1.3, allocations: 0.8106 MB / 1.144 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/1.301, allocations: 342.9 kB / 1.144 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.349e-05/1.301, allocations: 16.77 kB / 1.144 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005995/1.301, allocations: 348.5 kB / 1.145 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 3.116e-06/1.301, allocations: 0 / 1.145 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.001263/1.303, allocations: 0.6346 MB / 1.145 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.303, allocations: 214.4 kB / 1.146 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009051/1.304, allocations: 0.6298 MB / 1.146 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.042e-05/1.304, allocations: 25.7 kB / 1.146 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/1.304, allocations: 405.9 kB / 1.147 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/1.304, allocations: 295.5 kB / 1.147 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/1.304, allocations: 0 / 1.147 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002789/1.305, allocations: 341.9 kB / 1.147 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/1.305, allocations: 250 kB / 1.147 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007258/1.306, allocations: 421.2 kB / 1.148 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/1.307, allocations: 307.2 kB / 1.148 GB, free: 464 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.307, allocations: 0 / 1.148 GB, free: 464 kB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001877/1.309, allocations: 0.7872 MB / 1.149 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003193/1.309, allocations: 0.6317 MB / 1.15 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.309, allocations: 0 / 1.15 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/1.309, allocations: 4 kB / 1.15 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008886/1.31, allocations: 203.8 kB / 1.15 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/1.31, allocations: 7.938 kB / 1.15 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008968/1.311, allocations: 163.3 kB / 1.15 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/1.311, allocations: 35.98 kB / 1.15 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.311, allocations: 4 kB / 1.15 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001334/1.312, allocations: 0.6227 MB / 1.151 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.312, allocations: 0 / 1.151 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.313, allocations: 8 kB / 1.151 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/1.313, allocations: 147.7 kB / 1.151 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.313, allocations: 13.06 kB / 1.151 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/1.314, allocations: 123.5 kB / 1.151 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-05/1.314, allocations: 24 kB / 1.151 GB, free: 13.64 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * 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.0002621/1.314, allocations: 129.7 kB / 1.151 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/1.314, allocations: 106.7 kB / 1.151 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/1.315, allocations: 106.8 kB / 1.151 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.315, allocations: 8 kB / 1.151 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.315, allocations: 3.938 kB / 1.151 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/1.315, allocations: 3.984 kB / 1.151 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/1.317, allocations: 1.566 MB / 1.153 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.317, allocations: 4 kB / 1.153 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008233/1.318, allocations: 183.8 kB / 1.153 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/1.318, allocations: 4.75 kB / 1.153 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/1.318, allocations: 7.922 kB / 1.153 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/1.318, allocations: 15.84 kB / 1.153 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.318, allocations: 0 / 1.153 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001818/1.32, allocations: 1.091 MB / 1.154 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002423/1.322, allocations: 1.824 MB / 1.156 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/1.323, allocations: 179.6 kB / 1.156 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.323, allocations: 4 kB / 1.156 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005122/1.323, allocations: 73.72 kB / 1.156 GB, free: 8.238 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/1.323, allocations: 40.66 kB / 1.156 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/1.324, allocations: 31.98 kB / 1.156 GB, free: 8.168 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0007716/1.324, allocations: 479 kB / 1.157 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002696/1.327, allocations: 382.1 kB / 1.157 GB, free: 7.328 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002563/1.327, allocations: 131 kB / 1.157 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001971/1.329, allocations: 1.093 MB / 1.158 GB, free: 6.082 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.329, allocations: 0 / 1.158 GB, free: 6.082 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004642/1.33, allocations: 326.8 kB / 1.158 GB, free: 5.762 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/1.331, allocations: 205.5 kB / 1.159 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/1.334, allocations: 1.435 MB / 1.16 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/1.335, allocations: 1.227 MB / 1.161 GB, free: 2.844 MB / 0.7605 GB Notification: Performance of SimCode: time 8.12e-07/1.335, allocations: 0 / 1.161 GB, free: 2.844 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)