Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.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.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType") [: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.7199/0.7199, allocations: 132.4 MB / 139.7 MB, free: 15.6 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.001132/0.001132, allocations: 169.8 kB / 171.6 MB, free: 1.961 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.496/1.496, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.00176/0.00176, allocations: 111.8 kB / 444.4 MB, free: 9.363 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.4572/0.4573, allocations: 73.39 MB / 0.666 GB, free: 62.65 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.6037, allocations: 101.4 MB / 0.7651 GB, free: 2.863 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.604, allocations: 76.94 kB / 0.7652 GB, free: 2.789 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.0482/0.6522, allocations: 18.13 MB / 0.7829 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.41e-05/0.6523, allocations: 8 kB / 0.7829 GB, free: 0.7539 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001132/0.6534, allocations: 0.5979 MB / 0.7835 GB, free: 88 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.6535, allocations: 11.88 kB / 0.7835 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.6536, allocations: 27.62 kB / 0.7835 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.654, allocations: 253.7 kB / 0.7837 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.6541, allocations: 4 kB / 0.7837 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.6541, allocations: 12 kB / 0.7837 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004345/0.6546, allocations: 317.9 kB / 0.784 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.6552, allocations: 450.4 kB / 0.7845 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.6552, allocations: 3.984 kB / 0.7845 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.6552, allocations: 0 / 0.7845 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.6553, allocations: 4 kB / 0.7845 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.6559, allocations: 0.5202 MB / 0.785 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.6571, allocations: 1.019 MB / 0.786 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007795/0.6579, allocations: 0.6594 MB / 0.7866 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.6579, allocations: 7.984 kB / 0.7866 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005917/0.6585, allocations: 459.1 kB / 0.7871 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.783e-06/0.6585, allocations: 0 / 0.7871 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.001078/0.6596, allocations: 0.7608 MB / 0.7878 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.6598, allocations: 144.5 kB / 0.788 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.66, allocations: 212.1 kB / 0.7882 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.6601, allocations: 33.7 kB / 0.7882 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.6601, allocations: 100.9 kB / 0.7883 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.6602, allocations: 75 kB / 0.7884 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.6603, allocations: 4 kB / 0.7884 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6604, allocations: 342.8 kB / 0.7887 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.6609, allocations: 320.7 kB / 0.789 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.6615, allocations: 417.6 kB / 0.7894 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.6622, allocations: 359.7 kB / 0.7897 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.6622, allocations: 3.906 kB / 0.7897 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001558/0.6638, allocations: 0.8029 MB / 0.7905 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6638, allocations: 4 kB / 0.7905 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.6639, allocations: 7.984 kB / 0.7905 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/0.6639, allocations: 4 kB / 0.7905 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.6642, allocations: 43.84 kB / 0.7906 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.6642, allocations: 4 kB / 0.7906 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.6647, allocations: 15.83 kB / 0.7906 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/0.6652, allocations: 205.2 kB / 0.7908 GB, free: 8.297 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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.000245/0.6654, allocations: 140.8 kB / 0.7909 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.6655, allocations: 27.62 kB / 0.791 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.6657, allocations: 34.17 kB / 0.791 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.6657, allocations: 4 kB / 0.791 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.6657, allocations: 0 / 0.791 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.6657, allocations: 9.016 kB / 0.791 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.6688, allocations: 1.636 MB / 0.7926 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6689, allocations: 0 / 0.7926 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.727e-05/0.669, allocations: 27.91 kB / 0.7926 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.669, allocations: 0 / 0.7926 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.669, allocations: 19.97 kB / 0.7926 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6691, allocations: 4 kB / 0.7927 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.6691, allocations: 3.906 kB / 0.7927 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001972/0.6711, allocations: 1.125 MB / 0.7938 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.6712, allocations: 104.7 kB / 0.7939 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.6714, allocations: 8 kB / 0.7939 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.6718, allocations: 2.156 kB / 0.7939 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.672, allocations: 47.94 kB / 0.7939 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004513/0.6725, allocations: 223.6 kB / 0.7941 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002585/0.6728, allocations: 164.5 kB / 0.7943 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009044/0.6737, allocations: 48 kB / 0.7943 GB, free: 4.586 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003098/0.674, allocations: 127.1 kB / 0.7944 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.6755, allocations: 0.7222 MB / 0.7952 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6755, allocations: 0 / 0.7952 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008593/0.6764, allocations: 399.8 kB / 0.7955 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.6788, allocations: 295.3 kB / 0.7958 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.6809, allocations: 0.8663 MB / 0.7967 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007255/0.6817, allocations: 0.8267 MB / 0.7975 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of SimCode: time 3.858e-06/0.6817, allocations: 4 kB / 0.7975 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of Templates: time 0.02026/0.702, allocations: 7.805 MB / 0.8051 GB, free: 9.57 MB / 0.5105 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)