Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7373/0.7373, allocations: 141.8 MB / 149.1 MB, free: 1.555 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 179.4 kB / 181.9 MB, free: 0.9766 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.3 MB / 436 MB, free: 5.758 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008883/0.0008884, allocations: 104.5 kB / 0.507 GB, free: 2.438 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 264.5 kB / 0.5884 GB, free: 47.48 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.056e-05/1.066e-05, allocations: 2.844 kB / 0.6759 GB, free: 59.79 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1881, allocations: 82.78 MB / 0.7567 GB, free: 0.9141 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.3401, allocations: 109 MB / 0.8632 GB, free: 3.73 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.3404, allocations: 79.94 kB / 0.8633 GB, free: 3.652 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.006511/0.3469, allocations: 1.86 MB / 0.8651 GB, free: 1.789 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.3469, allocations: 7.938 kB / 0.8651 GB, free: 1.781 MB / 0.5419 GB 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.0003518/0.3473, allocations: 354.4 kB / 0.8654 GB, free: 1.391 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3473, allocations: 12.03 kB / 0.8654 GB, free: 1.379 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.3474, allocations: 3.906 kB / 0.8654 GB, free: 1.375 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.3475, allocations: 178.9 kB / 0.8656 GB, free: 1.16 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3475, allocations: 0 / 0.8656 GB, free: 1.16 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3476, allocations: 4 kB / 0.8656 GB, free: 1.156 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.599e-05/0.3477, allocations: 15.98 kB / 0.8656 GB, free: 1.141 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.699e-05/0.3478, allocations: 45.7 kB / 0.8657 GB, free: 1.09 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.3478, allocations: 0 / 0.8657 GB, free: 1.09 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3478, allocations: 3.984 kB / 0.8657 GB, free: 1.086 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3478, allocations: 0 / 0.8657 GB, free: 1.086 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.3482, allocations: 249.2 kB / 0.8659 GB, free: 0.8047 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.833e-05/0.3482, allocations: 34.56 kB / 0.8659 GB, free: 0.7617 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.3483, allocations: 12.92 kB / 0.866 GB, free: 0.7461 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/0.3487, allocations: 0.5545 MB / 0.8665 GB, free: 64 kB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3488, allocations: 30.56 kB / 0.8665 GB, free: 24 kB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.3488, allocations: 4 kB / 0.8665 GB, free: 20 kB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.2536/0.6024, allocations: 53.25 kB / 0.8666 GB, free: 168.8 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.6025, allocations: 51.41 kB / 0.8666 GB, free: 168.8 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.6026, allocations: 99.16 kB / 0.8667 GB, free: 168.7 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.6026, allocations: 29.55 kB / 0.8668 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.6026, allocations: 91.58 kB / 0.8668 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.6026, allocations: 3.125 kB / 0.8668 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.6027, allocations: 0 / 0.8668 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.6027, allocations: 321.4 kB / 0.8672 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.6027, allocations: 6.156 kB / 0.8672 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.6028, allocations: 3.938 kB / 0.8672 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/0.6028, allocations: 8.781 kB / 0.8672 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.6028, allocations: 0 / 0.8672 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.603, allocations: 41.89 kB / 0.8672 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.603, allocations: 5.125 kB / 0.8672 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.603, allocations: 0 / 0.8672 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.603, allocations: 12.38 kB / 0.8672 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.6031, allocations: 8.875 kB / 0.8672 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.6031, allocations: 0 / 0.8672 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.6032, allocations: 3.5 kB / 0.8672 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.6032, allocations: 0 / 0.8672 GB, free: 168.2 MB / 0.5419 GB 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 5.021e-05/0.6032, allocations: 110.9 kB / 0.8673 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.6033, allocations: 7.062 kB / 0.8674 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.6034, allocations: 55.31 kB / 0.8674 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6034, allocations: 0 / 0.8674 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6034, allocations: 0 / 0.8674 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.6034, allocations: 0 / 0.8674 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.6036, allocations: 146.5 kB / 0.8675 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.6036, allocations: 0 / 0.8675 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.6036, allocations: 12.64 kB / 0.8676 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6036, allocations: 0 / 0.8676 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.6036, allocations: 3.094 kB / 0.8676 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.6036, allocations: 0 / 0.8676 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6036, allocations: 0 / 0.8676 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001114/0.6038, allocations: 144.3 kB / 0.8677 GB, free: 167.8 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.6038, allocations: 94.17 kB / 0.8678 GB, free: 167.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.6038, allocations: 3.656 kB / 0.8678 GB, free: 167.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.6039, allocations: 0 / 0.8678 GB, free: 167.7 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.6039, allocations: 7.094 kB / 0.8678 GB, free: 167.7 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.604, allocations: 0 / 0.8678 GB, free: 167.7 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.004e-05/0.604, allocations: 85.62 kB / 0.8679 GB, free: 167.6 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002597/0.6043, allocations: 11.12 kB / 0.8679 GB, free: 167.6 MB / 0.5419 GB 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.0001763/0.6044, allocations: 116.6 kB / 0.868 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.643e-05/0.6045, allocations: 14.88 kB / 0.868 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6045, allocations: 0 / 0.868 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.752e-05/0.6046, allocations: 10.78 kB / 0.868 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.6047, allocations: 3.062 kB / 0.868 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.605, allocations: 62.02 kB / 0.8681 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.6052, allocations: 0.6999 MB / 0.8688 GB, free: 166.8 MB / 0.5419 GB Notification: Performance of SimCode: time 2.7e-07/0.6052, allocations: 0 / 0.8688 GB, free: 166.8 MB / 0.5419 GB Notification: Performance of Templates: time 0.002336/0.6076, allocations: 445.7 kB / 0.8692 GB, free: 166.8 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)