Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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: translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.473/1.473, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001105/0.001105, allocations: 173.3 kB / 366.3 MB, free: 2.004 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.222/1.222, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.0008637/0.0008637, allocations: 91.47 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.327e-06/9.487e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4912, allocations: 116.3 MB / 0.9726 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.165/4.656, allocations: 2.095 GB / 3.068 GB, free: 349.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004194/4.657, allocations: 95.38 kB / 3.068 GB, free: 349.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.739/6.396, allocations: 0.5837 GB / 3.652 GB, free: 127.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002071/6.396, allocations: 36 kB / 3.652 GB, free: 127.4 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.005344/6.402, allocations: 1.637 MB / 3.653 GB, free: 125.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/6.402, allocations: 8.031 kB / 3.653 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/6.405, allocations: 345.8 kB / 3.654 GB, free: 125.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/6.408, allocations: 1.324 MB / 3.655 GB, free: 124 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/6.408, allocations: 23.94 kB / 3.655 GB, free: 124 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003668/6.409, allocations: 60 kB / 3.655 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001557/6.41, allocations: 0.816 MB / 3.656 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/6.412, allocations: 0.8933 MB / 3.657 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/6.412, allocations: 11.84 kB / 3.657 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/6.412, allocations: 0 / 3.657 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/6.412, allocations: 20 kB / 3.657 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005842/6.418, allocations: 4.511 MB / 3.661 GB, free: 117.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/6.419, allocations: 0.759 MB / 3.662 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/6.42, allocations: 386 kB / 3.662 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003929/6.42, allocations: 283.5 kB / 3.663 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/6.42, allocations: 43 kB / 3.663 GB, free: 115.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=50): time 4.108e-06/6.42, allocations: 0 / 3.663 GB, free: 115.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=50): time 0.003323/6.423, allocations: 1.092 MB / 3.664 GB, free: 114.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/6.423, allocations: 111.2 kB / 3.664 GB, free: 114.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/6.426, allocations: 1.394 MB / 3.665 GB, free: 113.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002299/6.426, allocations: 25.7 kB / 3.665 GB, free: 113.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/6.426, allocations: 401.8 kB / 3.666 GB, free: 112.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/6.427, allocations: 165.5 kB / 3.666 GB, free: 112.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/6.427, allocations: 0 / 3.666 GB, free: 112.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000118/6.427, allocations: 345.9 kB / 3.666 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007362/6.427, allocations: 0.6501 MB / 3.667 GB, free: 111.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009758/6.428, allocations: 1.012 MB / 3.668 GB, free: 110.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/6.43, allocations: 0.8975 MB / 3.669 GB, free: 109.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/6.43, allocations: 3.938 kB / 3.669 GB, free: 109.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003549/6.434, allocations: 1.996 MB / 3.67 GB, free: 107.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004054/6.434, allocations: 1.856 MB / 3.672 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/6.434, allocations: 7.906 kB / 3.672 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00068/6.435, allocations: 140.7 kB / 3.672 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/6.436, allocations: 231.6 kB / 3.673 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/6.437, allocations: 1.365 MB / 3.674 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/6.44, allocations: 219 kB / 3.674 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/6.44, allocations: 71.97 kB / 3.674 GB, free: 103.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/6.44, allocations: 4 kB / 3.674 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002936/6.443, allocations: 1.725 MB / 3.676 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/6.443, allocations: 4 kB / 3.676 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/6.443, allocations: 12 kB / 3.676 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009995/6.444, allocations: 252.2 kB / 3.676 GB, free: 101.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/6.444, allocations: 19.84 kB / 3.676 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/6.446, allocations: 199.1 kB / 3.676 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/6.446, allocations: 63.98 kB / 3.676 GB, free: 101.3 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.0003314/6.446, allocations: 145.9 kB / 3.677 GB, free: 101.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004828/6.447, allocations: 122.4 kB / 3.677 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/6.45, allocations: 1.251 MB / 3.678 GB, free: 99.75 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/6.45, allocations: 4 kB / 3.678 GB, free: 99.74 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/6.45, allocations: 0 / 3.678 GB, free: 99.74 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/6.45, allocations: 7.984 kB / 3.678 GB, free: 99.73 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005157/6.455, allocations: 2.453 MB / 3.68 GB, free: 97.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/6.455, allocations: 4 kB / 3.68 GB, free: 97.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/6.456, allocations: 144.1 kB / 3.68 GB, free: 97.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005983/6.456, allocations: 136.7 kB / 3.681 GB, free: 96.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/6.456, allocations: 15.98 kB / 3.681 GB, free: 96.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007892/6.457, allocations: 1.349 MB / 3.682 GB, free: 95.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/6.457, allocations: 7.938 kB / 3.682 GB, free: 95.51 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003288/6.461, allocations: 1.883 MB / 3.684 GB, free: 93.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009194/6.462, allocations: 371.1 kB / 3.684 GB, free: 93.15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004811/6.462, allocations: 4 kB / 3.684 GB, free: 93.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/6.464, allocations: 112 kB / 3.684 GB, free: 93.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/6.464, allocations: 52.25 kB / 3.684 GB, free: 92.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.591e-05/6.464, allocations: 39.98 kB / 3.684 GB, free: 92.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001747/6.466, allocations: 1.056 MB / 3.685 GB, free: 91.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003321/6.469, allocations: 0.7681 MB / 3.686 GB, free: 91.12 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.004003/6.473, allocations: 1.978 MB / 3.688 GB, free: 89.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003877/6.477, allocations: 2.18 MB / 3.69 GB, free: 87.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/6.477, allocations: 0 / 3.69 GB, free: 87.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007206/6.478, allocations: 381.5 kB / 3.691 GB, free: 86.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/6.481, allocations: 322.3 kB / 3.691 GB, free: 86.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/6.486, allocations: 1.665 MB / 3.692 GB, free: 84.69 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/6.488, allocations: 1.312 MB / 3.694 GB, free: 83.35 MB / 0.948 GB Notification: Performance of SimCode: time 2.084e-06/6.488, allocations: 0 / 3.694 GB, free: 83.35 MB / 0.948 GB Notification: Performance of Templates: time 0.06218/6.55, allocations: 37.29 MB / 3.73 GB, free: 46.31 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)