Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [: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.7425/0.7425, allocations: 132.4 MB / 139.7 MB, free: 2.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001111/0.001112, allocations: 186.6 kB / 171.6 MB, free: 5.137 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.276/1.276, allocations: 170.5 MB / 373.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001734/0.001734, allocations: 111.5 kB / 444.4 MB, free: 2.477 MB / 330.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.1298/0.1298, allocations: 73.4 MB / 0.666 GB, free: 50.87 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4972, allocations: 100.9 MB / 0.7646 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.4974, allocations: 78.52 kB / 0.7647 GB, free: 0.668 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.003246/0.5007, allocations: 0.8829 MB / 0.7655 GB, free: 15.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.5007, allocations: 0 / 0.7655 GB, free: 15.92 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003832/0.5011, allocations: 337.5 kB / 0.7659 GB, free: 15.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.5012, allocations: 8.031 kB / 0.7659 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.5012, allocations: 0 / 0.7659 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.5014, allocations: 163.1 kB / 0.766 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.5014, allocations: 0 / 0.766 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.5014, allocations: 0 / 0.766 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.818e-05/0.5015, allocations: 4 kB / 0.766 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.173e-05/0.5016, allocations: 29.7 kB / 0.7661 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5016, allocations: 0 / 0.7661 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.5016, allocations: 3.906 kB / 0.7661 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5016, allocations: 0 / 0.7661 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.5018, allocations: 130.3 kB / 0.7662 GB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.5018, allocations: 18.52 kB / 0.7662 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.5019, allocations: 11.14 kB / 0.7662 GB, free: 15.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000591/0.5025, allocations: 0.5584 MB / 0.7668 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.5025, allocations: 30.56 kB / 0.7668 GB, free: 14.37 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 2.134e-06/0.5025, allocations: 0 / 0.7668 GB, free: 14.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002239/0.5028, allocations: 33.7 kB / 0.7668 GB, free: 14.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.5028, allocations: 54.97 kB / 0.7669 GB, free: 14.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.5029, allocations: 93.02 kB / 0.767 GB, free: 14.17 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.5029, allocations: 25.7 kB / 0.767 GB, free: 14.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.5029, allocations: 80.14 kB / 0.7671 GB, free: 14.06 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.503, allocations: 3.906 kB / 0.7671 GB, free: 14.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.503, allocations: 0.9375 kB / 0.7671 GB, free: 14.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5031, allocations: 310.8 kB / 0.7674 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.5032, allocations: 7.938 kB / 0.7674 GB, free: 13.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-06/0.5032, allocations: 0 / 0.7674 GB, free: 13.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.488e-05/0.5032, allocations: 0 / 0.7674 GB, free: 13.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5033, allocations: 8.062 kB / 0.7674 GB, free: 13.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.381e-05/0.5034, allocations: 34.56 kB / 0.7674 GB, free: 13.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5034, allocations: 4 kB / 0.7674 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5034, allocations: 3.609 kB / 0.7674 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5034, allocations: 4 kB / 0.7674 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.5035, allocations: 7.844 kB / 0.7674 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5035, allocations: 0 / 0.7674 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.5035, allocations: 0 / 0.7674 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.5035, allocations: 0 / 0.7674 GB, free: 13.67 MB / 458.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 (1): * Single equations (assignments): 1 * 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 8.742e-05/0.5036, allocations: 112.6 kB / 0.7675 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.5036, allocations: 0 / 0.7675 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.5038, allocations: 42.12 kB / 0.7676 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5038, allocations: 4 kB / 0.7676 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.5038, allocations: 3.906 kB / 0.7676 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5038, allocations: 0 / 0.7676 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.324e-05/0.5039, allocations: 126.3 kB / 0.7677 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5039, allocations: 0 / 0.7677 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.504, allocations: 7.984 kB / 0.7677 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.504, allocations: 0 / 0.7677 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.504, allocations: 0 / 0.7677 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.504, allocations: 0 / 0.7677 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.504, allocations: 0 / 0.7677 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001051/0.5041, allocations: 62.23 kB / 0.7678 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.5042, allocations: 89.11 kB / 0.7679 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.5042, allocations: 0 / 0.7679 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.242e-05/0.5042, allocations: 0 / 0.7679 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.5042, allocations: 3.938 kB / 0.7679 GB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.5042, allocations: 4 kB / 0.7679 GB, free: 13.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.128e-05/0.5043, allocations: 75.28 kB / 0.7679 GB, free: 13.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.5045, allocations: 7.938 kB / 0.7679 GB, free: 13.07 MB / 458.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 (1): * Single equations (assignments): 1 * 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.000169/0.5047, allocations: 103.2 kB / 0.768 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.425e-05/0.5047, allocations: 11.81 kB / 0.7681 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5048, allocations: 0 / 0.7681 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.987e-06/0.5048, allocations: 7.984 kB / 0.7681 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.311e-05/0.5049, allocations: 3.906 kB / 0.7681 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001502/0.505, allocations: 47.19 kB / 0.7681 GB, free: 12.87 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.5053, allocations: 0.6841 MB / 0.7688 GB, free: 12.16 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5053, allocations: 4 kB / 0.7688 GB, free: 12.16 MB / 458.7 MB Notification: Performance of Templates: time 0.00194/0.5072, allocations: 308.1 kB / 0.7691 GB, free: 11.87 MB / 458.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)