Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.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.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice") [: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.6916/0.6916, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001004/0.001004, allocations: 163.8 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.226/1.226, allocations: 170.5 MB / 373.9 MB, free: 15.93 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.001802/0.001802, allocations: 123.1 kB / 444.5 MB, free: 9.484 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.4759/0.4759, allocations: 73.39 MB / 0.666 GB, free: 62.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.6234, allocations: 102.1 MB / 0.7657 GB, free: 2.203 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.6236, allocations: 75.61 kB / 0.7657 GB, free: 2.133 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.00527/0.6289, allocations: 1.45 MB / 0.7672 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.6289, allocations: 0.5938 kB / 0.7672 GB, free: 0.7266 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003739/0.6293, allocations: 359.3 kB / 0.7675 GB, free: 344 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.6294, allocations: 8.031 kB / 0.7675 GB, free: 336 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.6295, allocations: 8.406 kB / 0.7675 GB, free: 328 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.6296, allocations: 178.8 kB / 0.7677 GB, free: 112 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.6296, allocations: 4 kB / 0.7677 GB, free: 108 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.6297, allocations: 4 kB / 0.7677 GB, free: 104 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.998e-05/0.6298, allocations: 16 kB / 0.7677 GB, free: 88 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.6299, allocations: 49.67 kB / 0.7678 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.6299, allocations: 0 / 0.7678 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.6299, allocations: 0 / 0.7678 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6299, allocations: 0 / 0.7678 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.6304, allocations: 260.2 kB / 0.768 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.995e-05/0.6304, allocations: 27.28 kB / 0.768 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.6305, allocations: 8.922 kB / 0.768 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004819/0.631, allocations: 0.5583 MB / 0.7686 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.631, allocations: 32.69 kB / 0.7686 GB, free: 14.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.715e-06/0.631, allocations: 4 kB / 0.7686 GB, free: 14.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000244/0.6313, allocations: 49.62 kB / 0.7687 GB, free: 14.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.6313, allocations: 51.41 kB / 0.7687 GB, free: 14.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.6314, allocations: 100.8 kB / 0.7688 GB, free: 14.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.6314, allocations: 25.7 kB / 0.7688 GB, free: 14.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.6315, allocations: 91.97 kB / 0.7689 GB, free: 14.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.6315, allocations: 11.91 kB / 0.7689 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.6315, allocations: 0 / 0.7689 GB, free: 14.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6316, allocations: 316.8 kB / 0.7692 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.6316, allocations: 7.984 kB / 0.7692 GB, free: 14.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.6316, allocations: 8 kB / 0.7693 GB, free: 14.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.6317, allocations: 4 kB / 0.7693 GB, free: 14.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6317, allocations: 0 / 0.7693 GB, free: 14.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.033e-05/0.6318, allocations: 53.53 kB / 0.7693 GB, free: 14.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.6318, allocations: 5.875 kB / 0.7693 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6318, allocations: 0 / 0.7693 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.6318, allocations: 1.688 kB / 0.7693 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.6319, allocations: 12.09 kB / 0.7693 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.6319, allocations: 0 / 0.7693 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.632, allocations: 0 / 0.7693 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.632, allocations: 7.984 kB / 0.7693 GB, free: 14.19 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 (2): * Single equations (assignments): 2 * 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.836e-05/0.6321, allocations: 108.9 kB / 0.7694 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.6321, allocations: 0 / 0.7694 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.6323, allocations: 53.31 kB / 0.7695 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.6323, allocations: 4.031 kB / 0.7695 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6323, allocations: 0 / 0.7695 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6323, allocations: 3.906 kB / 0.7695 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.6324, allocations: 142.2 kB / 0.7696 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6325, allocations: 1.594 kB / 0.7696 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.6325, allocations: 7.938 kB / 0.7696 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6325, allocations: 0 / 0.7696 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6325, allocations: 4.734 kB / 0.7696 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6325, allocations: 4 kB / 0.7696 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6325, allocations: 0 / 0.7696 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001378/0.6327, allocations: 147.5 kB / 0.7698 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.6327, allocations: 81.02 kB / 0.7699 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.6328, allocations: 4 kB / 0.7699 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.6328, allocations: 1.562 kB / 0.7699 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.6329, allocations: 11.92 kB / 0.7699 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.6329, allocations: 0 / 0.7699 GB, free: 13.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.047e-05/0.6329, allocations: 89.66 kB / 0.77 GB, free: 13.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.6332, allocations: 19.94 kB / 0.77 GB, free: 13.45 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 (2): * Single equations (assignments): 2 * 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.00015/0.6333, allocations: 99.23 kB / 0.7701 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.6334, allocations: 19.94 kB / 0.7701 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6334, allocations: 0 / 0.7701 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/0.6335, allocations: 8 kB / 0.7701 GB, free: 13.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.6336, allocations: 3.906 kB / 0.7701 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.6339, allocations: 75.77 kB / 0.7702 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.6341, allocations: 0.6936 MB / 0.7709 GB, free: 12.49 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6341, allocations: 0 / 0.7709 GB, free: 12.49 MB / 490.7 MB Notification: Performance of Templates: time 0.002441/0.6366, allocations: 453.9 kB / 0.7713 GB, free: 12.07 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)