Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") [: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/BuildSysPro 3.5.0/package.mo): time 0.7232/0.7232, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 177.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 399.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 93.47 kB / 476.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.442e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3463/0.4774, allocations: 110.3 MB / 0.7286 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.4776, allocations: 75.95 kB / 0.7287 GB, free: 2.008 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.05435/0.532, allocations: 20.31 MB / 0.7485 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.906e-05/0.5321, allocations: 28 kB / 0.7486 GB, free: 13.65 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00202/0.5342, allocations: 1.113 MB / 0.7496 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.5342, allocations: 11.97 kB / 0.7497 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.5345, allocations: 130.4 kB / 0.7498 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.5359, allocations: 0.7503 MB / 0.7505 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.282e-05/0.536, allocations: 59.7 kB / 0.7506 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.382e-05/0.5361, allocations: 47.91 kB / 0.7506 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008415/0.537, allocations: 459.9 kB / 0.7511 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009917/0.538, allocations: 0.6348 MB / 0.7517 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.538, allocations: 0 / 0.7517 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.5381, allocations: 0 / 0.7517 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.5381, allocations: 20 kB / 0.7517 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.5412, allocations: 2.23 MB / 0.7539 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.5423, allocations: 0.5401 MB / 0.7544 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.5426, allocations: 214.3 kB / 0.7546 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.5427, allocations: 8.484 kB / 0.7546 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000433/0.5431, allocations: 277.3 kB / 0.7549 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 2.145e-06/0.5432, allocations: 4 kB / 0.7549 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.0008818/0.544, allocations: 499.9 kB / 0.7554 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.5441, allocations: 137 kB / 0.7555 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006693/0.5448, allocations: 0.5632 MB / 0.756 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.5449, allocations: 29.7 kB / 0.7561 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.5451, allocations: 304.1 kB / 0.7564 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.5452, allocations: 193 kB / 0.7565 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.5453, allocations: 4 kB / 0.7565 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5454, allocations: 326 kB / 0.7569 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.5457, allocations: 173.3 kB / 0.757 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.5461, allocations: 293 kB / 0.7573 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.5464, allocations: 203.1 kB / 0.7575 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5465, allocations: 0 / 0.7575 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008952/0.5474, allocations: 0.5574 MB / 0.758 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003046/0.5477, allocations: 0.8834 MB / 0.7589 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5477, allocations: 0 / 0.7589 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.5477, allocations: 8 kB / 0.7589 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009341/0.5487, allocations: 163.8 kB / 0.7591 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.5487, allocations: 4 kB / 0.7591 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.5492, allocations: 67.5 kB / 0.7591 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.5493, allocations: 27.92 kB / 0.7592 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.5493, allocations: 7.906 kB / 0.7592 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007155/0.55, allocations: 442.2 kB / 0.7596 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.55, allocations: 4 kB / 0.7596 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.55, allocations: 4 kB / 0.7596 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.5508, allocations: 140 kB / 0.7597 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.5508, allocations: 12 kB / 0.7597 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.5512, allocations: 47.56 kB / 0.7598 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.5513, allocations: 19.94 kB / 0.7598 GB, free: 1.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001418/0.5514, allocations: 128 kB / 0.7599 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.5516, allocations: 94.88 kB / 0.76 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.5518, allocations: 88.72 kB / 0.7601 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.5518, allocations: 4 kB / 0.7601 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5518, allocations: 4 kB / 0.7601 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.5518, allocations: 7.984 kB / 0.7601 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.5537, allocations: 1.323 MB / 0.7614 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5537, allocations: 0 / 0.7614 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.5544, allocations: 115.8 kB / 0.7615 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.5544, allocations: 4 kB / 0.7615 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.5544, allocations: 8 kB / 0.7615 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5544, allocations: 3.984 kB / 0.7615 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5544, allocations: 4 kB / 0.7615 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001223/0.5557, allocations: 0.8673 MB / 0.7624 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.556, allocations: 227.8 kB / 0.7626 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.5561, allocations: 0 / 0.7626 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.5567, allocations: 47.95 kB / 0.7626 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.5568, allocations: 32.45 kB / 0.7627 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.5568, allocations: 19.98 kB / 0.7627 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004918/0.5573, allocations: 439.2 kB / 0.7631 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007143/0.558, allocations: 272.5 kB / 0.7634 GB, free: 13.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001674/0.5582, allocations: 111.6 kB / 0.7635 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.5594, allocations: 0.7471 MB / 0.7642 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5594, allocations: 0 / 0.7642 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.5598, allocations: 245.8 kB / 0.7644 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.5608, allocations: 226.6 kB / 0.7647 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.5634, allocations: 1.172 MB / 0.7658 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008985/0.5643, allocations: 1.092 MB / 0.7669 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/0.5643, allocations: 0 / 0.7669 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.02239/0.5867, allocations: 13.03 MB / 0.7796 GB, free: 13.4 MB / 0.5417 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)