Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7663/0.7663, allocations: 132.4 MB / 139.7 MB, free: 15.52 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001396/0.001397, allocations: 174.1 kB / 171.6 MB, free: 2.023 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.519/1.519, allocations: 170.5 MB / 373.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001663/0.001663, allocations: 118.4 kB / 444.5 MB, free: 9.352 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4979/0.4979, allocations: 73.4 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.915/5.413, allocations: 2.138 GB / 2.804 GB, free: 49.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/5.413, allocations: 89.78 kB / 2.804 GB, free: 49.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.8656/6.278, allocations: 216.3 MB / 3.015 GB, free: 86.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.193e-05/6.279, allocations: 12 kB / 3.015 GB, free: 86.79 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.002067/6.281, allocations: 0.7279 MB / 3.016 GB, free: 86.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/6.281, allocations: 8.031 kB / 3.016 GB, free: 86.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/6.282, allocations: 91.28 kB / 3.016 GB, free: 85.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/6.282, allocations: 403.4 kB / 3.016 GB, free: 85.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/6.283, allocations: 15.94 kB / 3.016 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/6.283, allocations: 20 kB / 3.016 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004812/6.283, allocations: 229.2 kB / 3.016 GB, free: 85.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/6.284, allocations: 264.8 kB / 3.017 GB, free: 84.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/6.284, allocations: 0 / 3.017 GB, free: 84.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/6.284, allocations: 3.906 kB / 3.017 GB, free: 84.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/6.284, allocations: 8 kB / 3.017 GB, free: 84.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/6.286, allocations: 0.9235 MB / 3.018 GB, free: 83.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/6.286, allocations: 114.6 kB / 3.018 GB, free: 83.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/6.286, allocations: 57.16 kB / 3.018 GB, free: 83.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/6.286, allocations: 3.938 kB / 3.018 GB, free: 83.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/6.286, allocations: 38.66 kB / 3.018 GB, free: 83.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/6.286, allocations: 3.938 kB / 3.018 GB, free: 83.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000678/6.287, allocations: 193.2 kB / 3.018 GB, free: 83.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/6.287, allocations: 55.34 kB / 3.018 GB, free: 83.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/6.287, allocations: 338.1 kB / 3.018 GB, free: 83.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/6.287, allocations: 25.7 kB / 3.018 GB, free: 83.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/6.287, allocations: 203.5 kB / 3.018 GB, free: 82.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/6.288, allocations: 43.39 kB / 3.019 GB, free: 82.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/6.288, allocations: 4 kB / 3.019 GB, free: 82.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001243/6.288, allocations: 342.8 kB / 3.019 GB, free: 82.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/6.288, allocations: 60.34 kB / 3.019 GB, free: 82.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/6.288, allocations: 142.8 kB / 3.019 GB, free: 82.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/6.288, allocations: 75.89 kB / 3.019 GB, free: 82.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/6.288, allocations: 4 kB / 3.019 GB, free: 82.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003769/6.289, allocations: 225.2 kB / 3.019 GB, free: 81.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002383/6.289, allocations: 0.7822 MB / 3.02 GB, free: 81.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/6.289, allocations: 8 kB / 3.02 GB, free: 81.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/6.289, allocations: 4 kB / 3.02 GB, free: 81.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/6.291, allocations: 303.8 kB / 3.02 GB, free: 80.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008837/6.291, allocations: 0.7108 MB / 3.021 GB, free: 80.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/6.292, allocations: 51.83 kB / 3.021 GB, free: 80.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/6.292, allocations: 8 kB / 3.021 GB, free: 80.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/6.292, allocations: 8 kB / 3.021 GB, free: 80.04 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002806/6.292, allocations: 155.8 kB / 3.021 GB, free: 79.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/6.292, allocations: 4 kB / 3.021 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/6.292, allocations: 4 kB / 3.021 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/6.293, allocations: 55.91 kB / 3.021 GB, free: 79.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/6.293, allocations: 4.188 kB / 3.021 GB, free: 79.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/6.293, allocations: 31.88 kB / 3.021 GB, free: 79.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/6.293, allocations: 8 kB / 3.021 GB, free: 79.78 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001621/6.293, allocations: 116.9 kB / 3.022 GB, free: 79.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/6.293, allocations: 31.62 kB / 3.022 GB, free: 79.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/6.294, allocations: 188.3 kB / 3.022 GB, free: 79.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/6.294, allocations: 4 kB / 3.022 GB, free: 79.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/6.294, allocations: 0 / 3.022 GB, free: 79.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/6.294, allocations: 0 / 3.022 GB, free: 79.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/6.295, allocations: 0.6636 MB / 3.022 GB, free: 78.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/6.295, allocations: 96 / 3.022 GB, free: 78.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/6.296, allocations: 275.9 kB / 3.023 GB, free: 78.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-06/6.296, allocations: 4 kB / 3.023 GB, free: 78.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/6.296, allocations: 3.984 kB / 3.023 GB, free: 78.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/6.298, allocations: 1.445 MB / 3.024 GB, free: 76.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/6.298, allocations: 4.031 kB / 3.024 GB, free: 76.87 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000389/6.299, allocations: 378.4 kB / 3.024 GB, free: 76.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/6.299, allocations: 152.6 kB / 3.025 GB, free: 76.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/6.299, allocations: 4 kB / 3.025 GB, free: 76.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/6.299, allocations: 31.97 kB / 3.025 GB, free: 76.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/6.299, allocations: 11.89 kB / 3.025 GB, free: 76.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/6.3, allocations: 19.98 kB / 3.025 GB, free: 76.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0002756/6.3, allocations: 264.6 kB / 3.025 GB, free: 75.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001044/6.301, allocations: 251.5 kB / 3.025 GB, free: 75.69 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001657/6.303, allocations: 1.034 MB / 3.026 GB, free: 74.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002803/6.305, allocations: 0.6266 MB / 3.027 GB, free: 74.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/6.305, allocations: 4 kB / 3.027 GB, free: 74.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003213/6.309, allocations: 0.5907 MB / 3.027 GB, free: 73.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009549/6.31, allocations: 131.3 kB / 3.027 GB, free: 73.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/6.311, allocations: 0.5801 MB / 3.028 GB, free: 72.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/6.312, allocations: 0.8499 MB / 3.029 GB, free: 71.82 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/6.312, allocations: 0 / 3.029 GB, free: 71.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.02025/6.332, allocations: 12.52 MB / 3.041 GB, free: 59.36 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)