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.LimPID.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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") [: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.529/1.529, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001363/0.001363, allocations: 185.3 kB / 361.1 MB, free: 7.086 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.288/1.288, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008844/0.0008845, allocations: 96.2 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.005e-06, allocations: 4 kB / 0.8511 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.664, allocations: 115.3 MB / 0.9637 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.8558, allocations: 142 MB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.8561, allocations: 88.73 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.06287/0.919, allocations: 24.06 MB / 1.126 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001417/0.9192, allocations: 35.92 kB / 1.126 GB, free: 5.898 MB / 0.7292 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.003251/0.9225, allocations: 1.376 MB / 1.127 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.9225, allocations: 8.531 kB / 1.127 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006014/0.9231, allocations: 162 kB / 1.128 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.925, allocations: 0.7854 MB / 1.128 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.9251, allocations: 50.05 kB / 1.128 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.9253, allocations: 68 kB / 1.128 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001561/0.9269, allocations: 0.6448 MB / 1.129 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.9286, allocations: 0.8602 MB / 1.13 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.9286, allocations: 8 kB / 1.13 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.03e-05/0.9287, allocations: 3.938 kB / 1.13 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.9287, allocations: 31.91 kB / 1.13 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005722/0.9345, allocations: 3.513 MB / 1.133 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.9362, allocations: 0.813 MB / 1.134 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.9368, allocations: 350.9 kB / 1.134 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.117e-05/0.9369, allocations: 8.781 kB / 1.134 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005715/0.9375, allocations: 352.5 kB / 1.135 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 3.146e-06/0.9375, allocations: 0 / 1.135 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.00124/0.9387, allocations: 0.6308 MB / 1.135 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.9389, allocations: 218.4 kB / 1.136 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009885/0.9399, allocations: 0.6219 MB / 1.136 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.501e-05/0.94, allocations: 29.7 kB / 1.136 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.9403, allocations: 408 kB / 1.137 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.9405, allocations: 287.5 kB / 1.137 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.9406, allocations: 4 kB / 1.137 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9407, allocations: 341.9 kB / 1.137 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.9412, allocations: 254 kB / 1.137 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.9418, allocations: 419.4 kB / 1.138 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007114/0.9425, allocations: 303.2 kB / 1.138 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.9425, allocations: 4 kB / 1.138 GB, free: 9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001447/0.944, allocations: 0.7872 MB / 1.139 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002453/0.9443, allocations: 0.6279 MB / 1.14 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.9443, allocations: 4 kB / 1.14 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.9443, allocations: 8 kB / 1.14 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/0.9451, allocations: 199.7 kB / 1.14 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.9451, allocations: 8 kB / 1.14 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008841/0.946, allocations: 163.3 kB / 1.14 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/0.9461, allocations: 31.98 kB / 1.14 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.9461, allocations: 8 kB / 1.14 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001152/0.9473, allocations: 0.6188 MB / 1.141 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.9473, allocations: 4 kB / 1.141 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.9473, allocations: 4 kB / 1.141 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005864/0.9479, allocations: 163.7 kB / 1.141 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.9479, allocations: 4 kB / 1.141 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.9486, allocations: 120.8 kB / 1.141 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.9487, allocations: 28.7 kB / 1.141 GB, free: 6.184 MB / 0.7448 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.0001887/0.9488, allocations: 132.7 kB / 1.141 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.949, allocations: 102.7 kB / 1.141 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.9492, allocations: 102.8 kB / 1.141 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.9493, allocations: 8 kB / 1.141 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.9493, allocations: 1.219 kB / 1.141 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.9493, allocations: 7.984 kB / 1.141 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.9516, allocations: 1.574 MB / 1.143 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9516, allocations: 3.984 kB / 1.143 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/0.9524, allocations: 183.7 kB / 1.143 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.9524, allocations: 7.984 kB / 1.143 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.9525, allocations: 6.125 kB / 1.143 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.9525, allocations: 7.906 kB / 1.143 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9525, allocations: 0 / 1.143 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001612/0.9541, allocations: 1.091 MB / 1.144 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.9543, allocations: 183.6 kB / 1.144 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.9544, allocations: 4 kB / 1.144 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.9549, allocations: 67.94 kB / 1.144 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.955, allocations: 50.03 kB / 1.144 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.9551, allocations: 23.98 kB / 1.144 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0005986/0.9557, allocations: 475.1 kB / 1.145 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001026/0.9567, allocations: 378.2 kB / 1.145 GB, free: 1.727 MB / 0.7448 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.0002376/0.957, allocations: 141.4 kB / 1.145 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.9587, allocations: 1.093 MB / 1.146 GB, free: 488 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9587, allocations: 0 / 1.146 GB, free: 488 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.9592, allocations: 330.8 kB / 1.147 GB, free: 156 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.9603, allocations: 198.3 kB / 1.147 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.9633, allocations: 1.431 MB / 1.148 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.9644, allocations: 1.212 MB / 1.149 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of SimCode: time 4.41e-07/0.9644, allocations: 7.938 kB / 1.149 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.02932/0.9937, allocations: 14.72 MB / 1.164 GB, free: 14.84 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)