Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.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,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T") [: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.7496/0.7496, 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.001512/0.001512, allocations: 165.7 kB / 171.6 MB, free: 1.965 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.421/1.421, 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.001784/0.001784, allocations: 126.1 kB / 444.5 MB, free: 9.348 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.5949/0.5949, allocations: 73.39 MB / 0.666 GB, free: 62.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7887/1.384, allocations: 344.7 MB / 1.003 GB, free: 95.85 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004225/1.384, allocations: 83.2 kB / 1.003 GB, free: 95.81 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.778/4.163, allocations: 0.6582 GB / 1.661 GB, free: 68.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002719/4.163, allocations: 50.58 kB / 1.661 GB, free: 68.95 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.005498/4.168, allocations: 1.807 MB / 1.663 GB, free: 68.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/4.168, allocations: 8.375 kB / 1.663 GB, free: 68.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/4.173, allocations: 0.6674 MB / 1.663 GB, free: 68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/4.177, allocations: 1.308 MB / 1.665 GB, free: 67.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/4.177, allocations: 35.97 kB / 1.665 GB, free: 67.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004094/4.178, allocations: 66.81 kB / 1.665 GB, free: 67.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001991/4.18, allocations: 0.8365 MB / 1.666 GB, free: 67.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/4.182, allocations: 1.162 MB / 1.667 GB, free: 67.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/4.182, allocations: 5.719 kB / 1.667 GB, free: 67.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/4.182, allocations: 6.031 kB / 1.667 GB, free: 67.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/4.182, allocations: 35.17 kB / 1.667 GB, free: 67.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008824/4.191, allocations: 7.475 MB / 1.674 GB, free: 62.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/4.192, allocations: 0.8061 MB / 1.675 GB, free: 62.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/4.193, allocations: 407.2 kB / 1.675 GB, free: 62.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/4.194, allocations: 1.606 MB / 1.677 GB, free: 60.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007955/4.195, allocations: 0.6324 MB / 1.677 GB, free: 60.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 4.429e-06/4.195, allocations: 0 / 1.677 GB, free: 60.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.003591/4.198, allocations: 1.265 MB / 1.679 GB, free: 60.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/4.198, allocations: 356.8 kB / 1.679 GB, free: 59.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/4.2, allocations: 0.8421 MB / 1.68 GB, free: 59.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.359e-05/4.2, allocations: 25.7 kB / 1.68 GB, free: 59.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/4.2, allocations: 0.496 MB / 1.68 GB, free: 59.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/4.2, allocations: 269.4 kB / 1.681 GB, free: 59.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/4.2, allocations: 0 / 1.681 GB, free: 59.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.693e-05/4.2, allocations: 345.9 kB / 1.681 GB, free: 59.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/4.201, allocations: 384.9 kB / 1.681 GB, free: 59.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007656/4.202, allocations: 0.7153 MB / 1.682 GB, free: 58.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/4.204, allocations: 0.6738 MB / 1.683 GB, free: 58.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/4.204, allocations: 0 / 1.683 GB, free: 58.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003159/4.207, allocations: 1.375 MB / 1.684 GB, free: 58.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008007/4.208, allocations: 2.572 MB / 1.686 GB, free: 55.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/4.208, allocations: 3.875 kB / 1.686 GB, free: 55.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/4.208, allocations: 16.56 kB / 1.686 GB, free: 55.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/4.209, allocations: 320.9 kB / 1.687 GB, free: 55.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/4.209, allocations: 16 kB / 1.687 GB, free: 55.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/4.212, allocations: 291.3 kB / 1.687 GB, free: 55.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/4.212, allocations: 53.38 kB / 1.687 GB, free: 55.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/4.212, allocations: 3.969 kB / 1.687 GB, free: 55.83 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003023/4.215, allocations: 1.178 MB / 1.688 GB, free: 55.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/4.215, allocations: 7.031 kB / 1.688 GB, free: 55.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/4.215, allocations: 13.25 kB / 1.688 GB, free: 55.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/4.216, allocations: 304.6 kB / 1.689 GB, free: 55.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/4.216, allocations: 13.09 kB / 1.689 GB, free: 55.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/4.218, allocations: 236.3 kB / 1.689 GB, free: 55.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/4.218, allocations: 48.3 kB / 1.689 GB, free: 55.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (115): * Single equations (assignments): 112 * 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.0004417/4.219, allocations: 236.8 kB / 1.689 GB, free: 55.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/4.219, allocations: 139.4 kB / 1.689 GB, free: 55.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/4.223, allocations: 1.849 MB / 1.691 GB, free: 55.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/4.223, allocations: 21.05 kB / 1.691 GB, free: 55.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/4.223, allocations: 0 / 1.691 GB, free: 55.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/4.223, allocations: 3.562 kB / 1.691 GB, free: 55.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/4.225, allocations: 1.097 MB / 1.692 GB, free: 55.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/4.225, allocations: 5.141 kB / 1.692 GB, free: 55.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/4.226, allocations: 234 kB / 1.692 GB, free: 55.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/4.226, allocations: 6.25 kB / 1.692 GB, free: 55.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/4.227, allocations: 26.41 kB / 1.692 GB, free: 55.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/4.227, allocations: 6.859 kB / 1.692 GB, free: 55.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/4.227, allocations: 2.156 kB / 1.692 GB, free: 55.2 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003545/4.23, allocations: 2.012 MB / 1.694 GB, free: 55.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/4.231, allocations: 218.8 kB / 1.695 GB, free: 54.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/4.231, allocations: 16.84 kB / 1.695 GB, free: 54.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/4.232, allocations: 183.6 kB / 1.695 GB, free: 54.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/4.232, allocations: 45.48 kB / 1.695 GB, free: 54.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/4.233, allocations: 49.86 kB / 1.695 GB, free: 54.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.000943/4.234, allocations: 0.6645 MB / 1.695 GB, free: 54.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002737/4.236, allocations: 0.8543 MB / 1.696 GB, free: 54.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.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 (79): * Single equations (assignments): 64 * 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.001781/4.238, allocations: 0.8931 MB / 1.697 GB, free: 54.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002635/4.241, allocations: 1.727 MB / 1.699 GB, free: 54.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/4.241, allocations: 2.266 kB / 1.699 GB, free: 54.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007596/4.241, allocations: 0.6264 MB / 1.699 GB, free: 54.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/4.244, allocations: 432 kB / 1.7 GB, free: 54.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/4.249, allocations: 2.247 MB / 1.702 GB, free: 53.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/4.25, allocations: 1.432 MB / 1.703 GB, free: 52.82 MB / 0.6198 GB Notification: Performance of SimCode: time 1.312e-06/4.25, allocations: 0.5938 kB / 1.703 GB, free: 52.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.06546/4.315, allocations: 34.2 MB / 1.737 GB, free: 50.79 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe 2>&1)