Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.263/2.263, allocations: 248.6 MB / 255.9 MB, free: 7.129 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001642/0.001642, allocations: 179.8 kB / 315.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.1 MB / 0.5658 GB, free: 416 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 98.89 kB / 0.67 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4749/0.4763, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.7029, allocations: 106.2 MB / 0.8835 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.66/6.363, allocations: 2.199 GB / 3.082 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/6.363, allocations: 91.25 kB / 3.082 GB, free: 168.8 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 1.95/8.313, allocations: 446.6 MB / 3.519 GB, free: 69.98 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/8.313, allocations: 11.94 kB / 3.519 GB, free: 69.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/8.315, allocations: 198.6 kB / 3.519 GB, free: 69.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/8.318, allocations: 0.7964 MB / 3.52 GB, free: 68.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/8.318, allocations: 12 kB / 3.52 GB, free: 68.92 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/8.318, allocations: 35.84 kB / 3.52 GB, free: 68.88 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008606/8.319, allocations: 285.5 kB / 3.52 GB, free: 68.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/8.32, allocations: 428.7 kB / 3.52 GB, free: 68.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/8.32, allocations: 8 kB / 3.52 GB, free: 68.13 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/8.32, allocations: 0 / 3.52 GB, free: 68.13 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/8.32, allocations: 8 kB / 3.52 GB, free: 68.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/8.324, allocations: 1.899 MB / 3.522 GB, free: 66.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008657/8.325, allocations: 322.3 kB / 3.522 GB, free: 65.77 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/8.326, allocations: 136.8 kB / 3.523 GB, free: 65.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003898/8.326, allocations: 190.2 kB / 3.523 GB, free: 65.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/8.326, allocations: 42.56 kB / 3.523 GB, free: 65.36 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 3.506e-06/8.326, allocations: 3.938 kB / 3.523 GB, free: 65.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.001888/8.328, allocations: 405.7 kB / 3.523 GB, free: 64.95 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/8.328, allocations: 213.6 kB / 3.523 GB, free: 64.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/8.33, allocations: 0.6759 MB / 3.524 GB, free: 64.01 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/8.33, allocations: 29.7 kB / 3.524 GB, free: 63.98 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/8.33, allocations: 233.2 kB / 3.524 GB, free: 63.74 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/8.33, allocations: 86.66 kB / 3.524 GB, free: 63.66 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/8.33, allocations: 0 / 3.524 GB, free: 63.66 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.756e-05/8.33, allocations: 325.9 kB / 3.525 GB, free: 63.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/8.331, allocations: 124.2 kB / 3.525 GB, free: 63.21 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/8.331, allocations: 343.1 kB / 3.525 GB, free: 62.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/8.332, allocations: 171.2 kB / 3.525 GB, free: 62.62 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/8.332, allocations: 0 / 3.525 GB, free: 62.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001683/8.334, allocations: 478 kB / 3.526 GB, free: 62.15 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.35e-05/8.334, allocations: 273.3 kB / 3.526 GB, free: 61.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/8.334, allocations: 15.92 kB / 3.526 GB, free: 61.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/8.334, allocations: 28.84 kB / 3.526 GB, free: 61.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/8.335, allocations: 91.97 kB / 3.526 GB, free: 61.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009765/8.336, allocations: 1.181 MB / 3.527 GB, free: 60.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/8.338, allocations: 95.81 kB / 3.527 GB, free: 60.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/8.338, allocations: 19.98 kB / 3.527 GB, free: 60.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/8.338, allocations: 4 kB / 3.527 GB, free: 60.38 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001247/8.34, allocations: 337.8 kB / 3.528 GB, free: 60.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/8.34, allocations: 7.938 kB / 3.528 GB, free: 60.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/8.34, allocations: 40.83 kB / 3.528 GB, free: 60 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/8.341, allocations: 79.84 kB / 3.528 GB, free: 59.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/8.342, allocations: 1.396 MB / 3.529 GB, free: 58.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/8.344, allocations: 87.88 kB / 3.529 GB, free: 58.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-05/8.344, allocations: 15.98 kB / 3.529 GB, free: 58.3 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.344, allocations: 120.9 kB / 3.529 GB, free: 58.18 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/8.345, allocations: 75.06 kB / 3.53 GB, free: 58.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/8.346, allocations: 404.5 kB / 3.53 GB, free: 57.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/8.346, allocations: 4.281 kB / 3.53 GB, free: 57.69 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/8.346, allocations: 0 / 3.53 GB, free: 57.69 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/8.346, allocations: 0 / 3.53 GB, free: 57.69 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/8.35, allocations: 1.103 MB / 3.531 GB, free: 56.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/8.35, allocations: 7.984 kB / 3.531 GB, free: 56.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/8.351, allocations: 72.06 kB / 3.531 GB, free: 56.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002281/8.352, allocations: 28.84 kB / 3.531 GB, free: 56.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/8.352, allocations: 11.98 kB / 3.531 GB, free: 56.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/8.353, allocations: 1.154 MB / 3.532 GB, free: 55.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/8.353, allocations: 7.984 kB / 3.532 GB, free: 55.19 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002637/8.356, allocations: 0.7304 MB / 3.533 GB, free: 54.39 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003356/8.359, allocations: 1.331 MB / 3.534 GB, free: 52.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007677/8.36, allocations: 208 kB / 3.534 GB, free: 52.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/8.36, allocations: 8 kB / 3.534 GB, free: 52.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/8.362, allocations: 63.86 kB / 3.535 GB, free: 52.68 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/8.362, allocations: 27.81 kB / 3.535 GB, free: 52.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/8.362, allocations: 12 kB / 3.535 GB, free: 52.64 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00107/8.363, allocations: 0.5304 MB / 3.535 GB, free: 52.12 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004805/8.368, allocations: 0.7374 MB / 3.536 GB, free: 51.38 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.002585/8.371, allocations: 1.454 MB / 3.537 GB, free: 49.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002372/8.373, allocations: 0.748 MB / 3.538 GB, free: 49.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/8.373, allocations: 4 kB / 3.538 GB, free: 49.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005613/8.374, allocations: 153.3 kB / 3.538 GB, free: 48.96 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/8.376, allocations: 247.5 kB / 3.538 GB, free: 48.72 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/8.379, allocations: 0.9762 MB / 3.539 GB, free: 47.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009386/8.38, allocations: 1.047 MB / 3.54 GB, free: 46.62 MB / 0.8698 GB Notification: Performance of SimCode: time 1.913e-06/8.38, allocations: 4 kB / 3.54 GB, free: 46.62 MB / 0.8698 GB