Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") [: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.7297/0.7297, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001193/0.001193, allocations: 174.9 kB / 171.6 MB, free: 2 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.667/1.667, allocations: 170.5 MB / 373.9 MB, free: 15.93 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.001996/0.001996, allocations: 112.1 kB / 444.4 MB, free: 9.457 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.593/0.5931, allocations: 73.4 MB / 0.666 GB, free: 62.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8444/1.438, allocations: 365.3 MB / 1.023 GB, free: 73.65 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/1.438, allocations: 88.77 kB / 1.023 GB, free: 73.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.581/11.02, allocations: 2.349 GB / 3.372 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001827/11.02, allocations: 172.3 kB / 3.372 GB, free: 34.01 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1007 * Number of variables: 1007 Notification: Performance of Generate backend data structure: time 0.025/11.05, allocations: 5.898 MB / 3.378 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/11.05, allocations: 10.34 kB / 3.378 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006623/11.05, allocations: 0.7691 MB / 3.379 GB, free: 30.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1967/11.25, allocations: 57.5 MB / 3.435 GB, free: 25.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/11.25, allocations: 465.6 kB / 3.435 GB, free: 25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002734/11.25, allocations: 263.2 kB / 3.436 GB, free: 24.99 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01153/11.26, allocations: 2.434 MB / 3.438 GB, free: 24.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/11.28, allocations: 3.641 MB / 3.441 GB, free: 22.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001797/11.28, allocations: 23.31 kB / 3.442 GB, free: 22.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007084/11.28, allocations: 15.28 kB / 3.442 GB, free: 22.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/11.28, allocations: 123.9 kB / 3.442 GB, free: 22.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03638/11.32, allocations: 25.31 MB / 3.466 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003612/11.32, allocations: 2.224 MB / 3.469 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/11.32, allocations: 1.106 MB / 3.47 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003375/11.33, allocations: 3.611 MB / 3.473 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.758e-05/11.33, allocations: 64.56 kB / 3.473 GB, free: 7.082 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=224): time 4.108e-06/11.33, allocations: 0 / 3.473 GB, free: 7.082 MB / 0.7605 GB Notification: Performance of matching and sorting (n=234): time 0.7333/12.06, allocations: 8.407 MB / 3.481 GB, free: 92.72 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/12.06, allocations: 130.7 kB / 3.482 GB, free: 92.6 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006337/12.07, allocations: 3.099 MB / 3.485 GB, free: 92.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001108/12.07, allocations: 34.89 kB / 3.485 GB, free: 92.29 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/12.07, allocations: 1.659 MB / 3.486 GB, free: 92.16 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/12.07, allocations: 0.7861 MB / 3.487 GB, free: 92.11 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/12.07, allocations: 0 / 3.487 GB, free: 92.11 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001672/12.07, allocations: 414.2 kB / 3.487 GB, free: 91.8 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/12.07, allocations: 0.793 MB / 3.488 GB, free: 91.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/12.07, allocations: 1.954 MB / 3.49 GB, free: 90.45 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004196/12.08, allocations: 1.456 MB / 3.491 GB, free: 90.44 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/12.08, allocations: 7.75 kB / 3.491 GB, free: 90.44 MB / 0.7605 GB Notification: Performance of matching and sorting (n=350) (initialization): time 0.01732/12.1, allocations: 4.645 MB / 3.496 GB, free: 90.08 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002557/12.1, allocations: 11.13 MB / 3.507 GB, free: 78.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.017e-05/12.1, allocations: 22.66 kB / 3.507 GB, free: 78.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/12.1, allocations: 0.6006 MB / 3.507 GB, free: 78.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/12.1, allocations: 0.5683 MB / 3.508 GB, free: 78.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/12.11, allocations: 2.991 MB / 3.511 GB, free: 76.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008135/12.11, allocations: 485.7 kB / 3.511 GB, free: 76.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000839/12.12, allocations: 138.9 kB / 3.512 GB, free: 76.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/12.12, allocations: 11.44 kB / 3.512 GB, free: 76.27 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01006/12.13, allocations: 2.833 MB / 3.514 GB, free: 76.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-05/12.13, allocations: 20.16 kB / 3.514 GB, free: 76.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/12.13, allocations: 379.1 kB / 3.515 GB, free: 76.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/12.13, allocations: 0.5694 MB / 3.515 GB, free: 76.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008092/12.14, allocations: 7.254 MB / 3.522 GB, free: 71.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006874/12.14, allocations: 396 kB / 3.523 GB, free: 70.99 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008184/12.14, allocations: 133.4 kB / 3.523 GB, free: 70.99 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 296 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 11,1 14,1 11,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.001885/12.15, allocations: 188.7 kB / 3.523 GB, free: 70.88 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002385/12.15, allocations: 499.8 kB / 3.524 GB, free: 70.62 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01883/12.17, allocations: 5.601 MB / 3.529 GB, free: 70.29 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000115/12.17, allocations: 45.67 kB / 3.529 GB, free: 70.29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/12.17, allocations: 0 / 3.529 GB, free: 70.29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01415/12.18, allocations: 4.149 MB / 3.533 GB, free: 70 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03548/12.22, allocations: 10.01 MB / 3.543 GB, free: 68.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/12.22, allocations: 4.688 kB / 3.543 GB, free: 68.31 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/12.22, allocations: 326.4 kB / 3.543 GB, free: 68.31 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/12.22, allocations: 0.8202 MB / 3.544 GB, free: 68.2 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002742/12.22, allocations: 53.66 kB / 3.544 GB, free: 68.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/12.24, allocations: 13.8 MB / 3.558 GB, free: 57.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.615e-05/12.24, allocations: 14.58 kB / 3.558 GB, free: 57.91 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0193/12.26, allocations: 7.104 MB / 3.564 GB, free: 56.19 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004783/12.26, allocations: 0.9377 MB / 3.565 GB, free: 55.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002363/12.27, allocations: 14.73 kB / 3.565 GB, free: 55.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007113/12.27, allocations: 0.5525 MB / 3.566 GB, free: 55.8 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003741/12.27, allocations: 170.1 kB / 3.566 GB, free: 55.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006519/12.27, allocations: 133.8 kB / 3.566 GB, free: 55.8 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.007546/12.28, allocations: 2.292 MB / 3.568 GB, free: 55.62 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.02321/12.31, allocations: 2.932 MB / 3.571 GB, free: 55.62 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 14 {1 3,1 3,1 7,1 3,1 3,1 3,1 9,1 3,1 3,1 7,1 3,1 3,1 3,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.009163/12.31, allocations: 3.363 MB / 3.575 GB, free: 54.42 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0107/12.33, allocations: 4.481 MB / 3.579 GB, free: 53.93 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/12.33, allocations: 4.656 kB / 3.579 GB, free: 53.93 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00395/12.33, allocations: 1.893 MB / 3.581 GB, free: 53.51 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01974/12.35, allocations: 2.584 MB / 3.583 GB, free: 53.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/12.38, allocations: 7.556 MB / 3.591 GB, free: 51.49 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007928/12.39, allocations: 3.431 MB / 3.594 GB, free: 50.68 MB / 0.7605 GB Notification: Performance of SimCode: time 2.405e-06/12.39, allocations: 3.625 kB / 3.594 GB, free: 50.68 MB / 0.7605 GB Notification: Performance of Templates: time 0.2759/12.66, allocations: 135.9 MB / 3.727 GB, free: 39.44 MB / 0.7605 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)