Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") [: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.287/2.287, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.001625/0.001625, allocations: 177.3 kB / 319.6 MB, free: 3.309 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.857/1.857, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001323/0.001323, allocations: 90.28 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.192e-05/1.199e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2605, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.831/6.091, allocations: 2.204 GB / 3.092 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003833/6.092, allocations: 87.45 kB / 3.092 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.797/8.889, allocations: 0.5591 GB / 3.651 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003647/8.889, allocations: 42.78 kB / 3.651 GB, free: 188.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.006677/8.896, allocations: 1.804 MB / 3.653 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/8.896, allocations: 11.59 kB / 3.653 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006449/8.903, allocations: 0.5374 MB / 3.653 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006905/8.91, allocations: 2.081 MB / 3.655 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/8.91, allocations: 21.38 kB / 3.655 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/8.91, allocations: 76.16 kB / 3.655 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004018/8.914, allocations: 1.498 MB / 3.657 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/8.917, allocations: 1.245 MB / 3.658 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/8.917, allocations: 7.5 kB / 3.658 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/8.918, allocations: 3.906 kB / 3.658 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/8.918, allocations: 22.95 kB / 3.658 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/8.932, allocations: 5.625 MB / 3.663 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00429/8.936, allocations: 1.456 MB / 3.665 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/8.938, allocations: 0.7031 MB / 3.666 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/8.938, allocations: 454.6 kB / 3.666 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/8.939, allocations: 34.56 kB / 3.666 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 2.785e-06/8.939, allocations: 3.344 kB / 3.666 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.0106/8.949, allocations: 2.151 MB / 3.668 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/8.949, allocations: 62.81 kB / 3.668 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006623/8.956, allocations: 2.446 MB / 3.671 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004898/8.956, allocations: 25.7 kB / 3.671 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006559/8.957, allocations: 470.9 kB / 3.671 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/8.957, allocations: 185.8 kB / 3.671 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/8.958, allocations: 3.094 kB / 3.671 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001502/8.958, allocations: 380.5 kB / 3.672 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003447/8.961, allocations: 1.634 MB / 3.673 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003933/8.965, allocations: 2.09 MB / 3.675 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008636/8.974, allocations: 2.271 MB / 3.677 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/8.974, allocations: 3.781 kB / 3.677 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01433/8.988, allocations: 4.572 MB / 3.682 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004913/8.989, allocations: 2.063 MB / 3.684 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/8.989, allocations: 3.969 kB / 3.684 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007286/8.99, allocations: 117.8 kB / 3.684 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/8.993, allocations: 416.7 kB / 3.684 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/8.996, allocations: 1.329 MB / 3.686 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004954/9.001, allocations: 330.2 kB / 3.686 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007154/9.002, allocations: 142.4 kB / 3.686 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/9.002, allocations: 4.672 kB / 3.686 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01315/9.015, allocations: 4.316 MB / 3.69 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/9.015, allocations: 3.531 kB / 3.69 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/9.015, allocations: 18.78 kB / 3.69 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/9.018, allocations: 426.7 kB / 3.691 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/9.018, allocations: 15.19 kB / 3.691 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/9.023, allocations: 261.7 kB / 3.691 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005873/9.023, allocations: 137.8 kB / 3.691 GB, free: 178.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 3 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005767/9.024, allocations: 172.1 kB / 3.691 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008928/9.025, allocations: 161.6 kB / 3.692 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/9.035, allocations: 2.408 MB / 3.694 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/9.036, allocations: 14.78 kB / 3.694 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/9.036, allocations: 0 / 3.694 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.166e-05/9.036, allocations: 3.516 kB / 3.694 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02189/9.057, allocations: 4.208 MB / 3.698 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/9.058, allocations: 3.75 kB / 3.698 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003023/9.061, allocations: 204.6 kB / 3.698 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/9.062, allocations: 133.3 kB / 3.698 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003311/9.062, allocations: 32.64 kB / 3.698 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/9.065, allocations: 1.306 MB / 3.7 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/9.065, allocations: 2.438 kB / 3.7 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01549/9.081, allocations: 2.485 MB / 3.702 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003205/9.084, allocations: 0.5797 MB / 3.703 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/9.085, allocations: 5.25 kB / 3.703 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005641/9.091, allocations: 126.1 kB / 3.703 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003587/9.091, allocations: 46.69 kB / 3.703 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003771/9.092, allocations: 81.64 kB / 3.703 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.007637/9.099, allocations: 1.829 MB / 3.705 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006387/9.106, allocations: 0.9568 MB / 3.706 GB, free: 176.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004291/9.11, allocations: 1.79 MB / 3.707 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01137/9.122, allocations: 5.099 MB / 3.712 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/9.122, allocations: 0 / 3.712 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/9.124, allocations: 0.65 MB / 3.713 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005079/9.129, allocations: 347.7 kB / 3.713 GB, free: 174 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009274/9.138, allocations: 2.39 MB / 3.716 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003106/9.141, allocations: 1.544 MB / 3.717 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.455e-06/9.142, allocations: 0 / 3.717 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.1368/9.278, allocations: 47.77 MB / 3.764 GB, free: 142.7 MB / 0.8698 GB