Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.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.7624/0.7624, 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.0013/0.0013, allocations: 174.9 kB / 171.6 MB, free: 1.992 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.431/1.431, allocations: 170.5 MB / 373.9 MB, free: 15.83 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.001696/0.001696, allocations: 107.1 kB / 444.4 MB, free: 9.34 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.5028/0.5029, allocations: 73.4 MB / 0.666 GB, free: 62.6 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.079/5.581, allocations: 2.143 GB / 2.809 GB, free: 36.33 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/5.582, allocations: 90.17 kB / 2.809 GB, free: 36.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.278/8.86, allocations: 0.8504 GB / 3.66 GB, free: 75.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003127/8.86, allocations: 48.5 kB / 3.66 GB, free: 75.2 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.00894/8.869, allocations: 2.105 MB / 3.662 GB, free: 74.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.018e-05/8.869, allocations: 9.594 kB / 3.662 GB, free: 74.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007609/8.877, allocations: 0.6224 MB / 3.662 GB, free: 74.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007684/8.885, allocations: 1.539 MB / 3.664 GB, free: 73.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/8.885, allocations: 45.66 kB / 3.664 GB, free: 73.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006966/8.886, allocations: 78.16 kB / 3.664 GB, free: 73.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00336/8.889, allocations: 1.054 MB / 3.665 GB, free: 73.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/8.893, allocations: 1.243 MB / 3.666 GB, free: 73.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/8.893, allocations: 3.438 kB / 3.666 GB, free: 73.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002842/8.893, allocations: 1.688 kB / 3.666 GB, free: 73.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-05/8.893, allocations: 42.8 kB / 3.666 GB, free: 73.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/8.905, allocations: 5.127 MB / 3.671 GB, free: 71.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009172/8.906, allocations: 0.5127 MB / 3.672 GB, free: 71.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/8.907, allocations: 418.2 kB / 3.672 GB, free: 71.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004886/8.907, allocations: 279.6 kB / 3.673 GB, free: 71.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008752/8.908, allocations: 0.6104 MB / 3.673 GB, free: 71.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=80): time 5.48e-06/8.908, allocations: 3.062 kB / 3.673 GB, free: 71.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88): time 0.01045/8.918, allocations: 3.214 MB / 3.676 GB, free: 70.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/8.919, allocations: 485.8 kB / 3.677 GB, free: 69.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/8.92, allocations: 0.8929 MB / 3.678 GB, free: 69.67 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/8.921, allocations: 28.55 kB / 3.678 GB, free: 69.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/8.921, allocations: 0.5167 MB / 3.678 GB, free: 69.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/8.921, allocations: 290.8 kB / 3.678 GB, free: 69.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/8.922, allocations: 1.094 kB / 3.678 GB, free: 69.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001074/8.922, allocations: 346.2 kB / 3.679 GB, free: 68.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/8.922, allocations: 363.1 kB / 3.679 GB, free: 68.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00092/8.923, allocations: 0.6306 MB / 3.68 GB, free: 68.58 MB / 0.6355 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.004457/8.928, allocations: 1.296 MB / 3.681 GB, free: 68.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/8.928, allocations: 1.156 kB / 3.681 GB, free: 68.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003728/8.931, allocations: 1.362 MB / 3.682 GB, free: 68.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003202/8.932, allocations: 1.072 MB / 3.683 GB, free: 67.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/8.932, allocations: 5.922 kB / 3.683 GB, free: 67.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006637/8.932, allocations: 244 kB / 3.684 GB, free: 67.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/8.933, allocations: 177.2 kB / 3.684 GB, free: 67.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/8.938, allocations: 4.293 MB / 3.688 GB, free: 64.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/8.94, allocations: 105.2 kB / 3.688 GB, free: 64.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/8.94, allocations: 34.45 kB / 3.688 GB, free: 64.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/8.94, allocations: 7.031 kB / 3.688 GB, free: 64.16 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003028/8.943, allocations: 1.206 MB / 3.689 GB, free: 64.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/8.943, allocations: 2.406 kB / 3.689 GB, free: 64.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006357/8.944, allocations: 225.4 kB / 3.689 GB, free: 63.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009577/8.945, allocations: 175.8 kB / 3.69 GB, free: 63.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/8.95, allocations: 5.128 MB / 3.695 GB, free: 60.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/8.952, allocations: 96.47 kB / 3.695 GB, free: 60.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/8.952, allocations: 37.23 kB / 3.695 GB, free: 60.23 MB / 0.6355 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaDyn.vol.dynBal.medium.dT:DUMMY_STATE(unit = "K" protected = true final = true ) "Temperature difference used to compute enthalpy" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 8,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007751/8.953, allocations: 174.3 kB / 3.695 GB, free: 60.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006529/8.954, allocations: 143.8 kB / 3.695 GB, free: 60.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/8.957, allocations: 1.117 MB / 3.696 GB, free: 59.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/8.957, allocations: 10.12 kB / 3.696 GB, free: 59.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/8.957, allocations: 0 / 3.696 GB, free: 59.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002092/8.959, allocations: 1.014 MB / 3.697 GB, free: 59.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007083/8.966, allocations: 2.773 MB / 3.7 GB, free: 59.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/8.966, allocations: 5.875 kB / 3.7 GB, free: 59.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/8.967, allocations: 175.3 kB / 3.7 GB, free: 59.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002398/8.968, allocations: 58.31 kB / 3.7 GB, free: 59.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/8.968, allocations: 18.22 kB / 3.7 GB, free: 59.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/8.971, allocations: 1.541 MB / 3.702 GB, free: 57.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/8.971, allocations: 7.625 kB / 3.702 GB, free: 57.91 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004969/8.976, allocations: 1.902 MB / 3.703 GB, free: 57.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/8.977, allocations: 344.2 kB / 3.704 GB, free: 57.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008403/8.978, allocations: 12.48 kB / 3.704 GB, free: 57.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/8.98, allocations: 97.95 kB / 3.704 GB, free: 57.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/8.981, allocations: 58.5 kB / 3.704 GB, free: 57.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/8.981, allocations: 34.67 kB / 3.704 GB, free: 57.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.002035/8.983, allocations: 0.6743 MB / 3.705 GB, free: 57.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006218/8.989, allocations: 0.8493 MB / 3.705 GB, free: 57.05 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.T,heaDyn.vol.dynBal.medium.X[2],senTem2.T,con2.I.y) * Number of discrete variables: 5 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent) * Number of discrete states: 5 (TSet.last,TSet.nextEvent,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006043/8.995, allocations: 2.567 MB / 3.708 GB, free: 56.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004233/8.999, allocations: 2.072 MB / 3.71 GB, free: 55.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/8.999, allocations: 2.875 kB / 3.71 GB, free: 55.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009969/9, allocations: 0.5705 MB / 3.711 GB, free: 55.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004156/9.004, allocations: 0.6308 MB / 3.711 GB, free: 55.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008432/9.013, allocations: 2.499 MB / 3.714 GB, free: 54.85 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00214/9.015, allocations: 1.494 MB / 3.715 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/9.015, allocations: 0 / 3.715 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.09418/9.109, allocations: 46.9 MB / 3.761 GB, free: 38.6 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)