Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [: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.7467/0.7467, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001206/0.001206, allocations: 172.4 kB / 171.6 MB, free: 1.996 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.49/1.49, allocations: 170.5 MB / 373.9 MB, free: 15.88 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.001799/0.001799, allocations: 111.1 kB / 444.5 MB, free: 9.418 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.4277/0.4278, allocations: 73.39 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.5619, allocations: 101.1 MB / 0.7648 GB, free: 3.105 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.5622, allocations: 81.16 kB / 0.7648 GB, free: 3.027 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.005531/0.5677, allocations: 1.494 MB / 0.7663 GB, free: 1.578 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.892e-06/0.5677, allocations: 5.156 kB / 0.7663 GB, free: 1.574 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.0003091/0.568, allocations: 342.9 kB / 0.7666 GB, free: 1.195 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.5681, allocations: 14.56 kB / 0.7667 GB, free: 1.184 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.5681, allocations: 6.031 kB / 0.7667 GB, free: 1.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5683, allocations: 163 kB / 0.7668 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.5683, allocations: 0 / 0.7668 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.5683, allocations: 8 kB / 0.7668 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.471e-05/0.5684, allocations: 11.98 kB / 0.7668 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.605e-05/0.5685, allocations: 43.7 kB / 0.7669 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5685, allocations: 3.984 kB / 0.7669 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5685, allocations: 0 / 0.7669 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5685, allocations: 0 / 0.7669 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.5687, allocations: 139.1 kB / 0.767 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.666e-05/0.5688, allocations: 42.62 kB / 0.7671 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.5688, allocations: 16.98 kB / 0.7671 GB, free: 0.668 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004683/0.5693, allocations: 0.5505 MB / 0.7676 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.5694, allocations: 39.75 kB / 0.7676 GB, free: 15.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5694, allocations: 0 / 0.7676 GB, free: 15.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009015/0.5703, allocations: 347.7 kB / 0.768 GB, free: 15.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.5703, allocations: 54.14 kB / 0.768 GB, free: 15.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.119e-05/0.5704, allocations: 88.91 kB / 0.7681 GB, free: 15.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.5704, allocations: 25.7 kB / 0.7681 GB, free: 15.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.5704, allocations: 84.27 kB / 0.7682 GB, free: 15.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.5705, allocations: 27.64 kB / 0.7682 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.5705, allocations: 0 / 0.7682 GB, free: 15.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5706, allocations: 318.8 kB / 0.7685 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.5707, allocations: 12 kB / 0.7686 GB, free: 14.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.38e-05/0.5707, allocations: 27.12 kB / 0.7686 GB, free: 14.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.404e-05/0.5708, allocations: 23.89 kB / 0.7686 GB, free: 14.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5708, allocations: 0 / 0.7686 GB, free: 14.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001497/0.571, allocations: 73.69 kB / 0.7687 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.571, allocations: 9.875 kB / 0.7687 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.571, allocations: 0 / 0.7687 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.571, allocations: 0 / 0.7687 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.5711, allocations: 27.92 kB / 0.7687 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5712, allocations: 1.062 kB / 0.7687 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.5712, allocations: 0 / 0.7687 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.5712, allocations: 6.203 kB / 0.7687 GB, free: 14.75 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 (9): * Single equations (assignments): 9 * 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 6.686e-05/0.5713, allocations: 105.9 kB / 0.7688 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.5713, allocations: 0 / 0.7688 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.5716, allocations: 111.2 kB / 0.7689 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.5716, allocations: 0 / 0.7689 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5716, allocations: 0 / 0.7689 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.5716, allocations: 0 / 0.7689 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.5717, allocations: 150.2 kB / 0.7691 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.5717, allocations: 1.25 kB / 0.7691 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.5718, allocations: 12 kB / 0.7691 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5718, allocations: 0 / 0.7691 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.5719, allocations: 6.438 kB / 0.7691 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5719, allocations: 0 / 0.7691 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5719, allocations: 4 kB / 0.7691 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002298/0.5721, allocations: 140.7 kB / 0.7692 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.5722, allocations: 81.02 kB / 0.7693 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.5722, allocations: 0 / 0.7693 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.706e-05/0.5722, allocations: 1.938 kB / 0.7693 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.381e-05/0.5723, allocations: 11.98 kB / 0.7693 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.5723, allocations: 0 / 0.7693 GB, free: 14.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.906e-05/0.5723, allocations: 83.34 kB / 0.7694 GB, free: 13.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.5726, allocations: 31.94 kB / 0.7694 GB, free: 13.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002012/0.5728, allocations: 123.2 kB / 0.7695 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.5729, allocations: 51.98 kB / 0.7696 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5729, allocations: 0 / 0.7696 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.5729, allocations: 28 kB / 0.7696 GB, free: 13.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.5731, allocations: 4.938 kB / 0.7696 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.5734, allocations: 100.2 kB / 0.7697 GB, free: 13.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.5737, allocations: 0.6997 MB / 0.7704 GB, free: 12.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.893e-06/0.5737, allocations: 0 / 0.7704 GB, free: 12.89 MB / 490.7 MB Notification: Performance of Templates: time 0.002964/0.5767, allocations: 0.9443 MB / 0.7713 GB, free: 11.99 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)