Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") [: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.54/1.54, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001277/0.001277, allocations: 181.3 kB / 361.1 MB, free: 7.094 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.394/1.394, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0009022/0.0009021, allocations: 95.02 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.104e-06/7.334e-06, allocations: 0 / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.517/0.517, allocations: 115.3 MB / 0.9637 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.189/3.706, allocations: 2.094 GB / 3.058 GB, free: 11.14 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/3.706, allocations: 96.5 kB / 3.058 GB, free: 11.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.992/5.698, allocations: 0.5837 GB / 3.642 GB, free: 169 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001783/5.698, allocations: 32 kB / 3.642 GB, free: 169 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004816/5.703, allocations: 1.648 MB / 3.644 GB, free: 167.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/5.703, allocations: 8.531 kB / 3.644 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002661/5.706, allocations: 341.8 kB / 3.644 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/5.709, allocations: 1.322 MB / 3.645 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/5.709, allocations: 20 kB / 3.645 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/5.71, allocations: 60 kB / 3.645 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001446/5.711, allocations: 0.8121 MB / 3.646 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/5.712, allocations: 0.8994 MB / 3.647 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/5.712, allocations: 4 kB / 3.647 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/5.712, allocations: 4 kB / 3.647 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/5.712, allocations: 23.91 kB / 3.647 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005709/5.718, allocations: 4.503 MB / 3.651 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/5.719, allocations: 0.757 MB / 3.652 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/5.72, allocations: 386 kB / 3.652 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000345/5.72, allocations: 287.7 kB / 3.653 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/5.72, allocations: 39 kB / 3.653 GB, free: 157.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=50): time 2.385e-06/5.72, allocations: 0 / 3.653 GB, free: 157.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=50): time 0.002596/5.723, allocations: 1.084 MB / 3.654 GB, free: 156.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/5.723, allocations: 107.2 kB / 3.654 GB, free: 156.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/5.724, allocations: 1.401 MB / 3.655 GB, free: 154.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.083e-05/5.725, allocations: 25.7 kB / 3.655 GB, free: 154.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/5.725, allocations: 405.4 kB / 3.656 GB, free: 154.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/5.725, allocations: 169.4 kB / 3.656 GB, free: 154.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/5.725, allocations: 0 / 3.656 GB, free: 154.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/5.725, allocations: 345.9 kB / 3.656 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006893/5.726, allocations: 0.6462 MB / 3.657 GB, free: 153.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000894/5.727, allocations: 1.016 MB / 3.658 GB, free: 152.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/5.728, allocations: 0.9044 MB / 3.659 GB, free: 151.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/5.728, allocations: 0 / 3.659 GB, free: 151.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003113/5.731, allocations: 1.996 MB / 3.661 GB, free: 149.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003631/5.732, allocations: 1.855 MB / 3.662 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/5.732, allocations: 4 kB / 3.662 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/5.732, allocations: 128.8 kB / 3.663 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/5.733, allocations: 251.4 kB / 3.663 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009364/5.734, allocations: 1.353 MB / 3.664 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/5.736, allocations: 223 kB / 3.664 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/5.736, allocations: 67.97 kB / 3.664 GB, free: 145.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-06/5.736, allocations: 4 kB / 3.664 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002609/5.739, allocations: 1.722 MB / 3.666 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/5.739, allocations: 8.094 kB / 3.666 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/5.739, allocations: 12 kB / 3.666 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/5.74, allocations: 251.7 kB / 3.666 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/5.74, allocations: 19.92 kB / 3.666 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/5.741, allocations: 199.1 kB / 3.667 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/5.742, allocations: 63.98 kB / 3.667 GB, free: 142.9 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conPID.u_m:VARIABLE() "Connector of measurement input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002612/5.742, allocations: 144.6 kB / 3.667 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/5.742, allocations: 122.4 kB / 3.667 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/5.745, allocations: 1.255 MB / 3.668 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/5.745, allocations: 11.89 kB / 3.668 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/5.745, allocations: 0 / 3.668 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/5.745, allocations: 4 kB / 3.668 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004218/5.749, allocations: 2.458 MB / 3.671 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/5.749, allocations: 4 kB / 3.671 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/5.75, allocations: 140 kB / 3.671 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005925/5.75, allocations: 136.8 kB / 3.671 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.697e-05/5.75, allocations: 19.98 kB / 3.671 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000719/5.751, allocations: 1.349 MB / 3.672 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/5.751, allocations: 4 kB / 3.672 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003179/5.754, allocations: 1.875 MB / 3.674 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008352/5.755, allocations: 367.2 kB / 3.674 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004046/5.756, allocations: 7.984 kB / 3.674 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/5.757, allocations: 115.8 kB / 3.674 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/5.757, allocations: 36.38 kB / 3.674 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/5.757, allocations: 39.98 kB / 3.674 GB, free: 134.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001275/5.758, allocations: 1.056 MB / 3.676 GB, free: 133.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002406/5.761, allocations: 0.7681 MB / 3.676 GB, free: 132.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002499/5.763, allocations: 1.989 MB / 3.678 GB, free: 130.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002697/5.766, allocations: 2.179 MB / 3.68 GB, free: 128.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/5.766, allocations: 0 / 3.68 GB, free: 128.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005336/5.767, allocations: 379.1 kB / 3.681 GB, free: 128.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/5.768, allocations: 320.1 kB / 3.681 GB, free: 128 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/5.772, allocations: 1.678 MB / 3.683 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008699/5.772, allocations: 1.3 MB / 3.684 GB, free: 125 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/5.772, allocations: 4 kB / 3.684 GB, free: 125 MB / 0.948 GB Notification: Performance of Templates: time 0.05195/5.824, allocations: 37.3 MB / 3.72 GB, free: 87.92 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)