Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.309/2.309, allocations: 253.1 MB / 260.4 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 181.3 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 94.03 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.215e-05/1.236e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.23, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.556/1.786, allocations: 391.1 MB / 1.27 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005158/1.787, allocations: 91.92 kB / 1.27 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.792/3.579, allocations: 396.9 MB / 1.658 GB, free: 215 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001121/3.579, allocations: 23.69 kB / 1.658 GB, free: 215 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.003056/3.582, allocations: 1.048 MB / 1.659 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/3.582, allocations: 7.812 kB / 1.659 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004253/3.582, allocations: 101.9 kB / 1.659 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/3.584, allocations: 0.5662 MB / 1.659 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/3.585, allocations: 15.12 kB / 1.659 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/3.585, allocations: 38.28 kB / 1.659 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001124/3.586, allocations: 245.6 kB / 1.66 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/3.587, allocations: 308.3 kB / 1.66 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/3.587, allocations: 0 / 1.66 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/3.587, allocations: 0 / 1.66 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/3.587, allocations: 9.188 kB / 1.66 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005123/3.592, allocations: 1.769 MB / 1.662 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/3.593, allocations: 148.7 kB / 1.662 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/3.593, allocations: 68.28 kB / 1.662 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004283/3.594, allocations: 345.1 kB / 1.662 GB, free: 213 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/3.594, allocations: 37.16 kB / 1.662 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 4.329e-06/3.594, allocations: 0 / 1.662 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001148/3.595, allocations: 210.2 kB / 1.662 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/3.595, allocations: 59.08 kB / 1.663 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/3.596, allocations: 481.4 kB / 1.663 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.998e-05/3.596, allocations: 32.92 kB / 1.663 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/3.597, allocations: 278.1 kB / 1.663 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.493e-05/3.597, allocations: 61.41 kB / 1.663 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/3.597, allocations: 0 / 1.663 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001495/3.597, allocations: 365.5 kB / 1.664 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/3.597, allocations: 80.09 kB / 1.664 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/3.598, allocations: 195 kB / 1.664 GB, free: 212 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/3.598, allocations: 123 kB / 1.664 GB, free: 212 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/3.598, allocations: 0 / 1.664 GB, free: 212 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001419/3.6, allocations: 335.2 kB / 1.664 GB, free: 212 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/3.6, allocations: 276.6 kB / 1.665 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/3.6, allocations: 0 / 1.665 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/3.6, allocations: 3.688 kB / 1.665 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/3.603, allocations: 137.1 kB / 1.665 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/3.605, allocations: 2.399 MB / 1.667 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/3.607, allocations: 79.92 kB / 1.667 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/3.607, allocations: 22.34 kB / 1.667 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/3.607, allocations: 3.625 kB / 1.667 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/3.608, allocations: 231.5 kB / 1.667 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/3.608, allocations: 7.438 kB / 1.667 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/3.608, allocations: 3.438 kB / 1.667 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/3.609, allocations: 102.1 kB / 1.668 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/3.609, allocations: 3.969 kB / 1.668 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/3.611, allocations: 72.02 kB / 1.668 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/3.611, allocations: 14.03 kB / 1.668 GB, free: 209.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002012/3.611, allocations: 119.2 kB / 1.668 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/3.611, allocations: 61.47 kB / 1.668 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/3.613, allocations: 268.2 kB / 1.668 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/3.613, allocations: 0 / 1.668 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/3.613, allocations: 7.359 kB / 1.668 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/3.613, allocations: 3.906 kB / 1.668 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/3.615, allocations: 0.7709 MB / 1.669 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/3.615, allocations: 0 / 1.669 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/3.616, allocations: 75.41 kB / 1.669 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/3.616, allocations: 3.875 kB / 1.669 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/3.616, allocations: 7.562 kB / 1.669 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/3.618, allocations: 2.375 MB / 1.671 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/3.618, allocations: 0 / 1.671 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001076/3.619, allocations: 401.6 kB / 1.672 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004712/3.619, allocations: 165.3 kB / 1.672 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/3.619, allocations: 0 / 1.672 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/3.621, allocations: 53.09 kB / 1.672 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/3.621, allocations: 18.34 kB / 1.672 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/3.621, allocations: 6.812 kB / 1.672 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0008182/3.622, allocations: 366.3 kB / 1.672 GB, free: 206 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002273/3.624, allocations: 386.1 kB / 1.673 GB, free: 206 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/3.625, allocations: 484.8 kB / 1.673 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003494/3.629, allocations: 435 kB / 1.673 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/3.629, allocations: 3.875 kB / 1.673 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000862/3.63, allocations: 118.8 kB / 1.674 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/3.634, allocations: 296.1 kB / 1.674 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/3.637, allocations: 0.7377 MB / 1.675 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008957/3.638, allocations: 0.9958 MB / 1.676 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.122e-06/3.638, allocations: 0 / 1.676 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.03768/3.676, allocations: 13.32 MB / 1.689 GB, free: 204.6 MB / 0.8855 GB