Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [: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.8186/0.8186, 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.001092/0.001092, allocations: 169.3 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.487/1.487, allocations: 170.5 MB / 373.9 MB, free: 15.8 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.001725/0.001725, allocations: 113.4 kB / 444.4 MB, free: 9.352 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.4807/0.4807, allocations: 73.39 MB / 0.666 GB, free: 62 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.6114, allocations: 100.4 MB / 0.7641 GB, free: 3.695 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.6117, allocations: 76.45 kB / 0.7642 GB, free: 3.621 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003035/0.6147, allocations: 0.8162 MB / 0.765 GB, free: 2.836 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.6147, allocations: 5.688 kB / 0.765 GB, free: 2.832 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004241/0.6152, allocations: 372.4 kB / 0.7653 GB, free: 2.422 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.6152, allocations: 8.031 kB / 0.7653 GB, free: 2.414 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.6153, allocations: 91.62 kB / 0.7654 GB, free: 2.324 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.6156, allocations: 262.7 kB / 0.7657 GB, free: 2.027 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/0.6157, allocations: 154.6 kB / 0.7658 GB, free: 1.875 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.369e-05/0.6158, allocations: 157 kB / 0.766 GB, free: 1.723 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.804e-05/0.6159, allocations: 158.5 kB / 0.7661 GB, free: 1.566 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/0.616, allocations: 108.9 kB / 0.7662 GB, free: 1.453 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.616, allocations: 75.28 kB / 0.7663 GB, free: 1.379 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/0.6161, allocations: 154.6 kB / 0.7664 GB, free: 1.227 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/0.6162, allocations: 153.5 kB / 0.7666 GB, free: 1.078 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.6166, allocations: 478.3 kB / 0.767 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.6168, allocations: 169.1 kB / 0.7672 GB, free: 408 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.6168, allocations: 80.14 kB / 0.7673 GB, free: 324 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.6169, allocations: 83.28 kB / 0.7674 GB, free: 240 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/0.617, allocations: 109.8 kB / 0.7675 GB, free: 120 kB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.854e-06/0.617, allocations: 0 / 0.7675 GB, free: 120 kB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001119/0.6171, allocations: 44.47 kB / 0.7675 GB, free: 72 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.6172, allocations: 55.39 kB / 0.7676 GB, free: 4 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.6176, allocations: 198 kB / 0.7677 GB, free: 15.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.6177, allocations: 25.7 kB / 0.7678 GB, free: 15.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.6177, allocations: 108 kB / 0.7679 GB, free: 15.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.6178, allocations: 0 / 0.7679 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.6178, allocations: 0 / 0.7679 GB, free: 15.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.618, allocations: 326.8 kB / 0.7682 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.6181, allocations: 44.33 kB / 0.7682 GB, free: 15.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.6184, allocations: 175.1 kB / 0.7684 GB, free: 15.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008584/0.6192, allocations: 123.8 kB / 0.7685 GB, free: 14.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6193, allocations: 0 / 0.7685 GB, free: 14.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001368/0.6206, allocations: 269.3 kB / 0.7688 GB, free: 14.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.6207, allocations: 4 kB / 0.7688 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.6207, allocations: 4 kB / 0.7688 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.6208, allocations: 8 kB / 0.7688 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.621, allocations: 43.91 kB / 0.7688 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.621, allocations: 11.94 kB / 0.7688 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.6213, allocations: 23.69 kB / 0.7689 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.6213, allocations: 11.86 kB / 0.7689 GB, free: 14.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001442/0.6215, allocations: 193.1 kB / 0.769 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.6216, allocations: 116.8 kB / 0.7692 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.6217, allocations: 114.9 kB / 0.7693 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.057e-05/0.6217, allocations: 180.3 kB / 0.7694 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-05/0.6218, allocations: 184.2 kB / 0.7696 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.511e-05/0.6219, allocations: 189.7 kB / 0.7698 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.6222, allocations: 414.1 kB / 0.7702 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/0.6222, allocations: 105 kB / 0.7703 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.6223, allocations: 104.9 kB / 0.7704 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-05/0.6224, allocations: 180.2 kB / 0.7706 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/0.6226, allocations: 182.2 kB / 0.7707 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.404e-05/0.6227, allocations: 184.2 kB / 0.7709 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000103/0.6228, allocations: 176.3 kB / 0.7711 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002034/0.623, allocations: 319.6 kB / 0.7714 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.6232, allocations: 185.9 kB / 0.7716 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.6233, allocations: 184.3 kB / 0.7717 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.6235, allocations: 104.9 kB / 0.7718 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.6236, allocations: 184.2 kB / 0.772 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.6237, allocations: 101.8 kB / 0.7721 GB, free: 11.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002017/0.6239, allocations: 152.6 kB / 0.7723 GB, free: 10.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005613/0.6245, allocations: 35.88 kB / 0.7723 GB, free: 10.86 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002902/0.6248, allocations: 174.5 kB / 0.7725 GB, free: 10.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.625, allocations: 91.75 kB / 0.7725 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.625, allocations: 0 / 0.7725 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.428e-06/0.6251, allocations: 4 kB / 0.7726 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.6256, allocations: 0.5302 MB / 0.7731 GB, free: 10.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.6261, allocations: 225.3 kB / 0.7733 GB, free: 9.809 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.6267, allocations: 0.7231 MB / 0.774 GB, free: 9.059 MB / 490.7 MB Notification: Performance of SimCode: time 3.3e-07/0.6267, allocations: 0 / 0.774 GB, free: 9.059 MB / 490.7 MB Notification: Performance of Templates: time 0.004302/0.631, allocations: 0.7502 MB / 0.7747 GB, free: 8.352 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)