Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") [: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.739/0.739, 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.001165/0.001165, allocations: 174.9 kB / 171.6 MB, free: 2.004 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.345/1.345, 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.001747/0.001747, allocations: 100 kB / 444.4 MB, free: 9.367 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.5175/0.5175, allocations: 73.39 MB / 0.666 GB, free: 62.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.6698, allocations: 107.4 MB / 0.7709 GB, free: 12.83 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.6701, allocations: 88.73 kB / 0.771 GB, free: 12.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.02757/0.6977, allocations: 9.539 MB / 0.7803 GB, free: 3.293 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.862e-05/0.6978, allocations: 12 kB / 0.7803 GB, free: 3.281 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001551/0.6994, allocations: 0.7602 MB / 0.7811 GB, free: 2.473 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.6995, allocations: 12.03 kB / 0.7811 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.6996, allocations: 55.34 kB / 0.7812 GB, free: 2.406 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/0.7005, allocations: 423.6 kB / 0.7816 GB, free: 1.949 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.7005, allocations: 16 kB / 0.7816 GB, free: 1.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.7006, allocations: 32 kB / 0.7816 GB, free: 1.902 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006988/0.7013, allocations: 305.9 kB / 0.7819 GB, free: 1.602 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/0.7022, allocations: 432.5 kB / 0.7823 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.7022, allocations: 0 / 0.7823 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.7022, allocations: 3.984 kB / 0.7823 GB, free: 1.145 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.7023, allocations: 15.91 kB / 0.7823 GB, free: 1.129 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.7047, allocations: 1.527 MB / 0.7838 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.7053, allocations: 267.8 kB / 0.7841 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.7055, allocations: 124.9 kB / 0.7842 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.7056, allocations: 8.5 kB / 0.7842 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.7059, allocations: 169.3 kB / 0.7844 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.7059, allocations: 0 / 0.7844 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.0005622/0.7065, allocations: 255.1 kB / 0.7846 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.7065, allocations: 110.8 kB / 0.7847 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.7069, allocations: 283.3 kB / 0.785 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.707, allocations: 31.02 kB / 0.785 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.7071, allocations: 212 kB / 0.7852 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.286e-05/0.7072, allocations: 86.8 kB / 0.7853 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.7072, allocations: 0 / 0.7853 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7074, allocations: 346.8 kB / 0.7856 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.7076, allocations: 116.9 kB / 0.7857 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.7079, allocations: 210.5 kB / 0.7859 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.7081, allocations: 121.6 kB / 0.7861 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.7082, allocations: 3.906 kB / 0.7861 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006129/0.7088, allocations: 354 kB / 0.7864 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.7088, allocations: 8.281 kB / 0.7864 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.7088, allocations: 4 kB / 0.7864 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.7088, allocations: 7.984 kB / 0.7864 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.7092, allocations: 90.27 kB / 0.7865 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.7093, allocations: 4.938 kB / 0.7865 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.7097, allocations: 63.8 kB / 0.7866 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.7097, allocations: 19.98 kB / 0.7866 GB, free: 12.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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.0001575/0.7099, allocations: 133.8 kB / 0.7867 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.71, allocations: 35.56 kB / 0.7867 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005845/0.7105, allocations: 283.9 kB / 0.787 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.7106, allocations: 7.906 kB / 0.787 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7106, allocations: 0 / 0.787 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.7106, allocations: 7.984 kB / 0.787 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.7119, allocations: 0.8115 MB / 0.7878 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.7119, allocations: 0.9375 kB / 0.7878 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.7122, allocations: 67.92 kB / 0.7879 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.507e-06/0.7122, allocations: 11.61 kB / 0.7879 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.7123, allocations: 0 / 0.7879 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.7123, allocations: 1.172 kB / 0.7879 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7123, allocations: 4 kB / 0.7879 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008055/0.7131, allocations: 0.5297 MB / 0.7884 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.7133, allocations: 148.6 kB / 0.7886 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.7133, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.7137, allocations: 60 kB / 0.7886 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.7139, allocations: 45.44 kB / 0.7887 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.7139, allocations: 19.89 kB / 0.7887 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002045/0.7141, allocations: 199.1 kB / 0.7889 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004171/0.7145, allocations: 75.84 kB / 0.7889 GB, free: 10.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002077/0.7148, allocations: 113.2 kB / 0.7891 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005608/0.7153, allocations: 314.1 kB / 0.7894 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7153, allocations: 8.125 kB / 0.7894 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.7156, allocations: 143.9 kB / 0.7895 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.7161, allocations: 52.38 kB / 0.7896 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.7174, allocations: 0.5041 MB / 0.79 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005613/0.7179, allocations: 0.8781 MB / 0.7909 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of SimCode: time 3.71e-07/0.7179, allocations: 0 / 0.7909 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.01002/0.728, allocations: 4.762 MB / 0.7956 GB, free: 3.348 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)