Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") [: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.8459/0.8459, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001901/0.001901, allocations: 171.4 kB / 171.6 MB, free: 1.98 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.382/1.382, allocations: 170.5 MB / 373.9 MB, free: 15.86 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.001729/0.001729, allocations: 115.2 kB / 444.4 MB, free: 9.395 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.381/0.381, allocations: 73.4 MB / 0.666 GB, free: 62.61 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.5111, allocations: 100.8 MB / 0.7644 GB, free: 3.551 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.5114, allocations: 71.92 kB / 0.7645 GB, free: 3.484 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.00306/0.5145, allocations: 0.7667 MB / 0.7652 GB, free: 2.746 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.5145, allocations: 0 / 0.7652 GB, free: 2.746 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004796/0.515, allocations: 380.3 kB / 0.7656 GB, free: 2.332 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5151, allocations: 8.031 kB / 0.7656 GB, free: 2.324 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.5151, allocations: 7.906 kB / 0.7656 GB, free: 2.316 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.5152, allocations: 167.6 kB / 0.7658 GB, free: 2.113 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.5153, allocations: 7.984 kB / 0.7658 GB, free: 2.105 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.5153, allocations: 0 / 0.7658 GB, free: 2.105 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/0.5154, allocations: 28 kB / 0.7658 GB, free: 2.078 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.424e-05/0.5155, allocations: 57.67 kB / 0.7659 GB, free: 2.016 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5155, allocations: 1.266 kB / 0.7659 GB, free: 2.016 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.5155, allocations: 3.906 kB / 0.7659 GB, free: 2.012 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5156, allocations: 3.469 kB / 0.7659 GB, free: 2.012 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/0.5161, allocations: 309.3 kB / 0.7662 GB, free: 1.672 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.95e-05/0.5162, allocations: 46.56 kB / 0.7662 GB, free: 1.617 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.5163, allocations: 24.94 kB / 0.7662 GB, free: 1.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.5165, allocations: 101.1 kB / 0.7663 GB, free: 1.473 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.5165, allocations: 38.55 kB / 0.7664 GB, free: 1.426 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.5166, allocations: 0 / 0.7664 GB, free: 1.426 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002955/0.5169, allocations: 79.22 kB / 0.7664 GB, free: 1.344 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.5169, allocations: 59.34 kB / 0.7665 GB, free: 1.273 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.517, allocations: 116.6 kB / 0.7666 GB, free: 1.156 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.517, allocations: 25.7 kB / 0.7666 GB, free: 1.125 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.5171, allocations: 84.12 kB / 0.7667 GB, free: 1.039 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.5171, allocations: 15.52 kB / 0.7667 GB, free: 1.027 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.5171, allocations: 0 / 0.7667 GB, free: 1.027 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5173, allocations: 314.8 kB / 0.767 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.5173, allocations: 23.98 kB / 0.7671 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.5174, allocations: 16 kB / 0.7671 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.5175, allocations: 26.91 kB / 0.7671 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5175, allocations: 0 / 0.7671 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000179/0.5177, allocations: 77.56 kB / 0.7672 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5177, allocations: 4 kB / 0.7672 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5177, allocations: 0 / 0.7672 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5177, allocations: 0 / 0.7672 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.5179, allocations: 34.05 kB / 0.7672 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5179, allocations: 0 / 0.7672 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.518, allocations: 27.91 kB / 0.7672 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.5181, allocations: 4 kB / 0.7672 GB, free: 0.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 7.355e-05/0.5182, allocations: 101 kB / 0.7673 GB, free: 404 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.5182, allocations: 7.906 kB / 0.7673 GB, free: 396 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.5185, allocations: 94.11 kB / 0.7674 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5185, allocations: 0 / 0.7674 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5185, allocations: 0 / 0.7674 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5185, allocations: 3.906 kB / 0.7674 GB, free: 296 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.5187, allocations: 154.2 kB / 0.7676 GB, free: 104 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5187, allocations: 4 kB / 0.7676 GB, free: 100 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.5189, allocations: 23.98 kB / 0.7676 GB, free: 76 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5189, allocations: 0 / 0.7676 GB, free: 76 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.5189, allocations: 2.156 kB / 0.7676 GB, free: 76 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5189, allocations: 3.984 kB / 0.7676 GB, free: 72 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5189, allocations: 5.438 kB / 0.7676 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002171/0.5191, allocations: 171.4 kB / 0.7678 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.5192, allocations: 89 kB / 0.7679 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.5192, allocations: 0 / 0.7679 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.5193, allocations: 23.98 kB / 0.7679 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.5194, allocations: 11.89 kB / 0.7679 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.5194, allocations: 3.938 kB / 0.7679 GB, free: 15.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.02e-05/0.5195, allocations: 91.28 kB / 0.768 GB, free: 15.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.5197, allocations: 11.94 kB / 0.768 GB, free: 15.64 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 (3): * Single equations (assignments): 3 * 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.000158/0.5198, allocations: 111.2 kB / 0.7681 GB, free: 15.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.52, allocations: 32 kB / 0.7681 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.52, allocations: 4 kB / 0.7681 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.52, allocations: 23.92 kB / 0.7682 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.5202, allocations: 7.828 kB / 0.7682 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.5205, allocations: 87.81 kB / 0.7683 GB, free: 15.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.5209, allocations: 0.7039 MB / 0.7689 GB, free: 14.61 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5209, allocations: 0 / 0.7689 GB, free: 14.61 MB / 490.7 MB Notification: Performance of Templates: time 0.002712/0.5236, allocations: 0.7485 MB / 0.7697 GB, free: 13.9 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)