Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.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.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues") [: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.7701/0.7701, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001326/0.001326, allocations: 170 kB / 171.6 MB, free: 2.012 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.362/1.362, 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.001683/0.001683, allocations: 108 kB / 444.4 MB, free: 9.355 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.5478/0.5478, allocations: 73.39 MB / 0.666 GB, free: 62.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.7063, allocations: 101 MB / 0.7647 GB, free: 3.199 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.7066, allocations: 83.94 kB / 0.7648 GB, free: 3.117 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01076/0.7174, allocations: 3.434 MB / 0.7681 GB, free: 15.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.7175, allocations: 0.8125 kB / 0.7681 GB, free: 15.74 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004023/0.7179, allocations: 344.8 kB / 0.7685 GB, free: 15.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.718, allocations: 8.031 kB / 0.7685 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.718, allocations: 4 kB / 0.7685 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.7182, allocations: 165 kB / 0.7686 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.7182, allocations: 4 kB / 0.7686 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.7183, allocations: 4 kB / 0.7686 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.29e-05/0.7184, allocations: 11.91 kB / 0.7687 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.79e-05/0.7185, allocations: 55.27 kB / 0.7687 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.7185, allocations: 0.5625 kB / 0.7687 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.7185, allocations: 4 kB / 0.7687 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.7185, allocations: 0 / 0.7687 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.7187, allocations: 135.4 kB / 0.7688 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.7188, allocations: 23.45 kB / 0.7689 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.7189, allocations: 16.86 kB / 0.7689 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.7189, allocations: 0.5938 kB / 0.7689 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.719, allocations: 37.03 kB / 0.7689 GB, free: 14.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.719, allocations: 0 / 0.7689 GB, free: 14.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002478/0.7192, allocations: 58.19 kB / 0.769 GB, free: 14.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.7193, allocations: 81.83 kB / 0.769 GB, free: 14.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.7194, allocations: 89.55 kB / 0.7691 GB, free: 14.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.7195, allocations: 30.92 kB / 0.7692 GB, free: 14.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.7195, allocations: 80.14 kB / 0.7692 GB, free: 14.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.7196, allocations: 11.94 kB / 0.7692 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.7196, allocations: 4.156 kB / 0.7693 GB, free: 14.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7197, allocations: 310.8 kB / 0.7695 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.7198, allocations: 8 kB / 0.7696 GB, free: 14.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.7198, allocations: 8 kB / 0.7696 GB, free: 14.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.7199, allocations: 11.89 kB / 0.7696 GB, free: 14.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.7199, allocations: 0 / 0.7696 GB, free: 14.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001205/0.72, allocations: 57.62 kB / 0.7696 GB, free: 14.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.72, allocations: 4 kB / 0.7696 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.72, allocations: 4.094 kB / 0.7696 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.7201, allocations: 1.125 kB / 0.7696 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.967e-06/0.7201, allocations: 4 kB / 0.7696 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.7201, allocations: 0 / 0.7696 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.7202, allocations: 7.984 kB / 0.7697 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.7202, allocations: 7.672 kB / 0.7697 GB, free: 14 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.7204, allocations: 139.5 kB / 0.7698 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.7205, allocations: 4 kB / 0.7698 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.7205, allocations: 3.156 kB / 0.7698 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.7205, allocations: 7.984 kB / 0.7698 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.7205, allocations: 5.859 kB / 0.7698 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.7205, allocations: 0 / 0.7698 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.7207, allocations: 138.1 kB / 0.7699 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7207, allocations: 0.75 kB / 0.7699 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.7207, allocations: 0 / 0.7699 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.7207, allocations: 0 / 0.7699 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.7207, allocations: 8 kB / 0.77 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7207, allocations: 0 / 0.77 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7207, allocations: 0 / 0.77 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001528/0.7209, allocations: 96.95 kB / 0.77 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.721, allocations: 77.11 kB / 0.7701 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.721, allocations: 1.781 kB / 0.7701 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.7211, allocations: 8 kB / 0.7701 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.7211, allocations: 3.984 kB / 0.7701 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.7211, allocations: 4.875 kB / 0.7701 GB, free: 13.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.844e-05/0.7212, allocations: 79.81 kB / 0.7702 GB, free: 13.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00021/0.7214, allocations: 16 kB / 0.7702 GB, free: 13.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003114/0.7217, allocations: 106.8 kB / 0.7703 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.7219, allocations: 54.25 kB / 0.7704 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7219, allocations: 0 / 0.7704 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.7219, allocations: 45.8 kB / 0.7704 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.7221, allocations: 4.469 kB / 0.7704 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.7227, allocations: 158.6 kB / 0.7706 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.723, allocations: 0.6802 MB / 0.7712 GB, free: 12.23 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.723, allocations: 0 / 0.7712 GB, free: 12.23 MB / 490.7 MB Notification: Performance of Templates: time 0.003587/0.7266, allocations: 0.9866 MB / 0.7722 GB, free: 11.3 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)