Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") [: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.305/2.305, allocations: 253.1 MB / 260.4 MB, free: 7.48 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.001742/0.001742, allocations: 185.2 kB / 319.6 MB, free: 3.301 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.893/1.893, 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.001367/0.001367, allocations: 108.7 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.056e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2528, allocations: 106.3 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.883/6.136, allocations: 2.199 GB / 3.087 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/6.137, allocations: 90 kB / 3.087 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.971/8.107, allocations: 445.5 MB / 3.522 GB, free: 62.76 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001085/8.108, allocations: 32.05 kB / 3.522 GB, free: 62.73 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.002775/8.11, allocations: 1.075 MB / 3.523 GB, free: 61.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/8.11, allocations: 12.03 kB / 3.523 GB, free: 61.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/8.112, allocations: 182.7 kB / 3.523 GB, free: 61.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/8.115, allocations: 0.8003 MB / 3.524 GB, free: 60.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/8.115, allocations: 16 kB / 3.524 GB, free: 60.56 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/8.115, allocations: 31.91 kB / 3.524 GB, free: 60.53 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008494/8.116, allocations: 285.5 kB / 3.524 GB, free: 60.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009199/8.117, allocations: 436.8 kB / 3.525 GB, free: 59.78 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/8.117, allocations: 0 / 3.525 GB, free: 59.78 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/8.117, allocations: 0 / 3.525 GB, free: 59.78 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/8.117, allocations: 8 kB / 3.525 GB, free: 59.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004286/8.121, allocations: 1.909 MB / 3.527 GB, free: 57.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/8.122, allocations: 317.3 kB / 3.527 GB, free: 57.41 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/8.123, allocations: 140.8 kB / 3.527 GB, free: 57.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/8.123, allocations: 194.2 kB / 3.527 GB, free: 57.04 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/8.123, allocations: 34.56 kB / 3.527 GB, free: 57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 3.647e-06/8.123, allocations: 0 / 3.527 GB, free: 57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.001893/8.125, allocations: 402.7 kB / 3.528 GB, free: 56.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/8.125, allocations: 209.6 kB / 3.528 GB, free: 56.34 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/8.127, allocations: 0.6798 MB / 3.529 GB, free: 55.66 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/8.127, allocations: 25.7 kB / 3.529 GB, free: 55.62 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/8.127, allocations: 241.1 kB / 3.529 GB, free: 55.38 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/8.127, allocations: 94.59 kB / 3.529 GB, free: 55.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/8.127, allocations: 0 / 3.529 GB, free: 55.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/8.127, allocations: 321.9 kB / 3.529 GB, free: 54.97 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/8.127, allocations: 132.2 kB / 3.529 GB, free: 54.84 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/8.128, allocations: 334.5 kB / 3.53 GB, free: 54.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/8.129, allocations: 182.4 kB / 3.53 GB, free: 54.25 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/8.129, allocations: 0 / 3.53 GB, free: 54.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001553/8.13, allocations: 466.1 kB / 3.53 GB, free: 53.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.637e-05/8.13, allocations: 271.4 kB / 3.531 GB, free: 53.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/8.13, allocations: 4 kB / 3.531 GB, free: 53.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/8.13, allocations: 32.84 kB / 3.531 GB, free: 53.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009947/8.131, allocations: 87.86 kB / 3.531 GB, free: 53.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008947/8.132, allocations: 1.173 MB / 3.532 GB, free: 52.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/8.134, allocations: 103.7 kB / 3.532 GB, free: 52.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/8.134, allocations: 27.98 kB / 3.532 GB, free: 52.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/8.134, allocations: 0 / 3.532 GB, free: 52.02 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/8.135, allocations: 347.4 kB / 3.532 GB, free: 51.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/8.135, allocations: 11.97 kB / 3.532 GB, free: 51.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/8.136, allocations: 40.83 kB / 3.532 GB, free: 51.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/8.136, allocations: 83.8 kB / 3.532 GB, free: 51.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/8.138, allocations: 1.4 MB / 3.534 GB, free: 50.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/8.14, allocations: 88.19 kB / 3.534 GB, free: 49.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.37e-05/8.14, allocations: 19.98 kB / 3.534 GB, free: 49.93 MB / 0.8698 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 (31): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002008/8.14, allocations: 113 kB / 3.534 GB, free: 49.81 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/8.14, allocations: 75 kB / 3.534 GB, free: 49.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/8.142, allocations: 401.2 kB / 3.534 GB, free: 49.33 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/8.142, allocations: 4 kB / 3.534 GB, free: 49.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/8.142, allocations: 0 / 3.534 GB, free: 49.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/8.142, allocations: 3.984 kB / 3.534 GB, free: 49.32 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/8.144, allocations: 1.097 MB / 3.536 GB, free: 48.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/8.144, allocations: 8.031 kB / 3.536 GB, free: 48.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/8.145, allocations: 67.83 kB / 3.536 GB, free: 48.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/8.145, allocations: 32.84 kB / 3.536 GB, free: 48.05 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/8.145, allocations: 8 kB / 3.536 GB, free: 48.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006384/8.146, allocations: 1.158 MB / 3.537 GB, free: 46.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/8.146, allocations: 0 / 3.537 GB, free: 46.84 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001499/8.147, allocations: 0.737 MB / 3.537 GB, free: 46.03 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/8.148, allocations: 216 kB / 3.538 GB, free: 45.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/8.148, allocations: 4 kB / 3.538 GB, free: 45.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/8.15, allocations: 59.83 kB / 3.538 GB, free: 45.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/8.15, allocations: 23.97 kB / 3.538 GB, free: 45.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/8.15, allocations: 16 kB / 3.538 GB, free: 45.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001035/8.151, allocations: 0.5303 MB / 3.538 GB, free: 45.17 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002005/8.153, allocations: 451.2 kB / 3.539 GB, free: 44.73 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002429/8.155, allocations: 1.456 MB / 3.54 GB, free: 43.24 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002365/8.158, allocations: 0.7401 MB / 3.541 GB, free: 42.46 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/8.158, allocations: 0 / 3.541 GB, free: 42.46 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005568/8.158, allocations: 156.2 kB / 3.541 GB, free: 42.31 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/8.161, allocations: 253.7 kB / 3.541 GB, free: 42.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/8.164, allocations: 0.9555 MB / 3.542 GB, free: 41.06 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008336/8.165, allocations: 1.055 MB / 3.543 GB, free: 39.98 MB / 0.8698 GB Notification: Performance of SimCode: time 1.453e-06/8.165, allocations: 0 / 3.543 GB, free: 39.98 MB / 0.8698 GB Notification: Performance of Templates: time 0.05888/8.224, allocations: 22.86 MB / 3.566 GB, free: 17.25 MB / 0.8698 GB