Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.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.Validation.HeaterCooler_T_dynamic,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic") [: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.7137/0.7137, allocations: 132.4 MB / 139.7 MB, free: 15.59 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.001138/0.001137, allocations: 170 kB / 171.6 MB, free: 1.98 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.48/1.48, allocations: 170.5 MB / 373.9 MB, free: 15.86 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.001637/0.001637, allocations: 115 kB / 444.4 MB, free: 9.398 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.5312/0.5313, allocations: 73.38 MB / 0.666 GB, free: 62.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8213/1.353, allocations: 344.9 MB / 1.003 GB, free: 95.07 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/1.353, allocations: 87.58 kB / 1.003 GB, free: 95.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.734/5.087, allocations: 0.91 GB / 1.913 GB, free: 66.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002673/5.088, allocations: 48.31 kB / 1.913 GB, free: 66.38 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.005923/5.093, allocations: 1.817 MB / 1.915 GB, free: 65.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/5.094, allocations: 8.031 kB / 1.915 GB, free: 65.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004341/5.098, allocations: 0.6642 MB / 1.915 GB, free: 65.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004951/5.103, allocations: 1.324 MB / 1.917 GB, free: 65.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.451e-05/5.103, allocations: 35.47 kB / 1.917 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005144/5.104, allocations: 71.12 kB / 1.917 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002605/5.106, allocations: 0.8762 MB / 1.918 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/5.109, allocations: 1.148 MB / 1.919 GB, free: 64.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/5.109, allocations: 2.812 kB / 1.919 GB, free: 64.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/5.109, allocations: 3.625 kB / 1.919 GB, free: 64.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/5.109, allocations: 35.41 kB / 1.919 GB, free: 64.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/5.12, allocations: 7.091 MB / 1.926 GB, free: 60.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/5.122, allocations: 0.882 MB / 1.927 GB, free: 60.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/5.123, allocations: 439.8 kB / 1.927 GB, free: 60.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/5.124, allocations: 1.609 MB / 1.929 GB, free: 58.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009298/5.125, allocations: 0.6703 MB / 1.929 GB, free: 58.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=91): time 4.067e-06/5.125, allocations: 0 / 1.929 GB, free: 58.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=91): time 0.004443/5.129, allocations: 1.364 MB / 1.931 GB, free: 58.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/5.13, allocations: 355.4 kB / 1.931 GB, free: 57.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/5.131, allocations: 0.8334 MB / 1.932 GB, free: 57.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/5.132, allocations: 28.92 kB / 1.932 GB, free: 57.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/5.132, allocations: 485.3 kB / 1.932 GB, free: 57.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003504/5.133, allocations: 300.9 kB / 1.932 GB, free: 57.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/5.133, allocations: 0 / 1.932 GB, free: 57.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001133/5.133, allocations: 349.2 kB / 1.933 GB, free: 57.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/5.134, allocations: 408.8 kB / 1.933 GB, free: 57.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008855/5.134, allocations: 0.725 MB / 1.934 GB, free: 56.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/5.137, allocations: 0.7346 MB / 1.935 GB, free: 56.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/5.137, allocations: 3.938 kB / 1.935 GB, free: 56.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003696/5.14, allocations: 1.461 MB / 1.936 GB, free: 56.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005198/5.141, allocations: 2.035 MB / 1.938 GB, free: 54.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/5.141, allocations: 10.5 kB / 1.938 GB, free: 54.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.2e-05/5.141, allocations: 7.844 kB / 1.938 GB, free: 54.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/5.142, allocations: 333.3 kB / 1.938 GB, free: 54.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/5.143, allocations: 11.97 kB / 1.938 GB, free: 54.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/5.145, allocations: 293.4 kB / 1.939 GB, free: 54.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/5.145, allocations: 56.03 kB / 1.939 GB, free: 54.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/5.145, allocations: 3.062 kB / 1.939 GB, free: 54.38 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003049/5.148, allocations: 1.263 MB / 1.94 GB, free: 54.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/5.148, allocations: 7.906 kB / 1.94 GB, free: 54.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/5.148, allocations: 7.25 kB / 1.94 GB, free: 54.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/5.15, allocations: 308.5 kB / 1.94 GB, free: 54.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/5.15, allocations: 20.84 kB / 1.94 GB, free: 54.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/5.152, allocations: 239.1 kB / 1.941 GB, free: 54.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/5.152, allocations: 51.88 kB / 1.941 GB, free: 54.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 3 * 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.0004483/5.152, allocations: 234.6 kB / 1.941 GB, free: 54.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005582/5.153, allocations: 140.1 kB / 1.941 GB, free: 54.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/5.158, allocations: 1.977 MB / 1.943 GB, free: 53.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/5.158, allocations: 13.48 kB / 1.943 GB, free: 53.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/5.158, allocations: 2.688 kB / 1.943 GB, free: 53.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/5.158, allocations: 4.547 kB / 1.943 GB, free: 53.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/5.161, allocations: 1.144 MB / 1.944 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/5.161, allocations: 5.469 kB / 1.944 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/5.162, allocations: 253.5 kB / 1.944 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-05/5.162, allocations: 3.312 kB / 1.944 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/5.162, allocations: 26.62 kB / 1.944 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/5.162, allocations: 9.062 kB / 1.944 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/5.162, allocations: 1.016 kB / 1.944 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005077/5.167, allocations: 2.161 MB / 1.946 GB, free: 53.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007258/5.168, allocations: 229.9 kB / 1.947 GB, free: 53.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005932/5.169, allocations: 13.89 kB / 1.947 GB, free: 53.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/5.171, allocations: 188.4 kB / 1.947 GB, free: 53.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/5.171, allocations: 54.48 kB / 1.947 GB, free: 53.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/5.171, allocations: 47.11 kB / 1.947 GB, free: 53.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001587/5.173, allocations: 0.6624 MB / 1.948 GB, free: 53.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004274/5.177, allocations: 0.8581 MB / 1.948 GB, free: 53.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (heaHigPow.heaCoo.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.heaCoo.T,heaCooUnl.heaCoo.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent) * Number of discrete states: 15 (TSetHeat.last,TSetHeat.nextEvent,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.last,TSetCool.nextEvent,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 12 * 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.002498/5.179, allocations: 0.8936 MB / 1.949 GB, free: 52.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004518/5.184, allocations: 1.812 MB / 1.951 GB, free: 52.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/5.184, allocations: 1.781 kB / 1.951 GB, free: 52.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/5.186, allocations: 0.6724 MB / 1.952 GB, free: 52.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/5.19, allocations: 425.5 kB / 1.952 GB, free: 52.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007335/5.197, allocations: 2.49 MB / 1.955 GB, free: 52.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/5.199, allocations: 1.441 MB / 1.956 GB, free: 51.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/5.199, allocations: 0 / 1.956 GB, free: 51.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.0715/5.27, allocations: 35.06 MB / 1.99 GB, free: 49.07 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe 2>&1)