Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [: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.8112/0.8112, allocations: 132.4 MB / 139.7 MB, free: 15.53 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.001036/0.001036, allocations: 170.1 kB / 171.6 MB, free: 2.02 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.33/1.33, 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.001674/0.001674, allocations: 108.9 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.4886/0.4887, allocations: 73.39 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.6298, allocations: 100.9 MB / 0.7646 GB, free: 3.355 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.6302, allocations: 75.95 kB / 0.7647 GB, free: 3.281 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01467/0.6448, allocations: 4.677 MB / 0.7692 GB, free: 14.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.6449, allocations: 0 / 0.7692 GB, free: 14.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003859/0.6453, allocations: 362.4 kB / 0.7696 GB, free: 14.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.6454, allocations: 8.031 kB / 0.7696 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.6454, allocations: 6.031 kB / 0.7696 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.6456, allocations: 166.9 kB / 0.7697 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.6456, allocations: 0 / 0.7697 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.6457, allocations: 4 kB / 0.7697 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.191e-05/0.6457, allocations: 23.92 kB / 0.7698 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.6459, allocations: 41.69 kB / 0.7698 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.6459, allocations: 7.906 kB / 0.7698 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.6459, allocations: 0 / 0.7698 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.6459, allocations: 4 kB / 0.7698 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.6461, allocations: 134.2 kB / 0.7699 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.6462, allocations: 33.72 kB / 0.77 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.124e-05/0.6463, allocations: 34.72 kB / 0.77 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006652/0.647, allocations: 461.4 kB / 0.7705 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.647, allocations: 35.12 kB / 0.7705 GB, free: 13.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.6471, allocations: 0 / 0.7705 GB, free: 13.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001155/0.6482, allocations: 0.5219 MB / 0.771 GB, free: 12.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.6483, allocations: 51.41 kB / 0.771 GB, free: 12.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.329e-05/0.6483, allocations: 97 kB / 0.7711 GB, free: 12.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.6484, allocations: 25.7 kB / 0.7712 GB, free: 12.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.6484, allocations: 80.14 kB / 0.7712 GB, free: 12.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.6485, allocations: 39.45 kB / 0.7713 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.6485, allocations: 0 / 0.7713 GB, free: 12.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.6486, allocations: 322.7 kB / 0.7716 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/0.6486, allocations: 16 kB / 0.7716 GB, free: 11.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.6487, allocations: 20 kB / 0.7716 GB, free: 11.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/0.6488, allocations: 27.92 kB / 0.7716 GB, free: 11.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6488, allocations: 0 / 0.7716 GB, free: 11.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001851/0.649, allocations: 95.03 kB / 0.7717 GB, free: 11.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.649, allocations: 7.906 kB / 0.7717 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.649, allocations: 0 / 0.7717 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.649, allocations: 0 / 0.7717 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.6491, allocations: 23.98 kB / 0.7718 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6492, allocations: 1.188 kB / 0.7718 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.6492, allocations: 0 / 0.7718 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.6492, allocations: 8 kB / 0.7718 GB, free: 11.71 MB / 490.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 (13): * Single equations (assignments): 13 * 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 9.477e-05/0.6493, allocations: 106.3 kB / 0.7719 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.6493, allocations: 11.84 kB / 0.7719 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.6496, allocations: 91.98 kB / 0.772 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.6496, allocations: 4 kB / 0.772 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6496, allocations: 0 / 0.772 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6496, allocations: 0 / 0.772 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.65, allocations: 331.8 kB / 0.7723 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6501, allocations: 0.9375 kB / 0.7723 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.6502, allocations: 20.88 kB / 0.7723 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.6502, allocations: 0 / 0.7723 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.6502, allocations: 4 kB / 0.7723 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.6502, allocations: 3.984 kB / 0.7723 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6502, allocations: 0 / 0.7723 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002767/0.6505, allocations: 208.7 kB / 0.7725 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.6506, allocations: 85.66 kB / 0.7726 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.6506, allocations: 0 / 0.7726 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.6507, allocations: 12.05 kB / 0.7726 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.6508, allocations: 4.469 kB / 0.7726 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.6508, allocations: 12.81 kB / 0.7726 GB, free: 10.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.562e-05/0.6508, allocations: 83.27 kB / 0.7727 GB, free: 10.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.6511, allocations: 47.94 kB / 0.7728 GB, free: 10.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002861/0.6514, allocations: 147.1 kB / 0.7729 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.6516, allocations: 63.92 kB / 0.773 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.6516, allocations: 1.5 kB / 0.773 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.6516, allocations: 28 kB / 0.773 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.6518, allocations: 0 / 0.773 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.6521, allocations: 122.6 kB / 0.7731 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.6524, allocations: 0.7075 MB / 0.7738 GB, free: 9.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6524, allocations: 0 / 0.7738 GB, free: 9.5 MB / 490.7 MB Notification: Performance of Templates: time 0.00432/0.6567, allocations: 1.465 MB / 0.7752 GB, free: 8.07 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)