Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 187.7 kB / 7.804 MB, free: 2.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4538/0.4538, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009096/0.0009096, allocations: 90.48 kB / 415.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.597e-06, allocations: 4 kB / 493.9 MB, free: 11.56 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2845, allocations: 72.3 MB / 0.5529 GB, free: 44.82 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3923, allocations: 101 MB / 0.6515 GB, free: 7.672 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.3926, allocations: 81.16 kB / 0.6516 GB, free: 7.594 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004722/0.3973, allocations: 1.389 MB / 0.653 GB, free: 6.215 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3973, allocations: 0 / 0.653 GB, free: 6.215 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002455/0.3976, allocations: 342.3 kB / 0.6533 GB, free: 5.836 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3976, allocations: 8.031 kB / 0.6533 GB, free: 5.828 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.3976, allocations: 0 / 0.6533 GB, free: 5.828 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.442e-05/0.3977, allocations: 167 kB / 0.6535 GB, free: 5.625 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3978, allocations: 4 kB / 0.6535 GB, free: 5.621 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.3978, allocations: 0 / 0.6535 GB, free: 5.621 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.176e-05/0.3978, allocations: 3.938 kB / 0.6535 GB, free: 5.617 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.09e-05/0.3979, allocations: 29.7 kB / 0.6535 GB, free: 5.582 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.3979, allocations: 4 kB / 0.6535 GB, free: 5.578 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.3979, allocations: 0 / 0.6535 GB, free: 5.578 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3979, allocations: 5.125 kB / 0.6535 GB, free: 5.574 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.398, allocations: 126.2 kB / 0.6536 GB, free: 5.414 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/0.3981, allocations: 14.58 kB / 0.6537 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.3981, allocations: 8.953 kB / 0.6537 GB, free: 5.379 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004381/0.3985, allocations: 0.5622 MB / 0.6542 GB, free: 4.688 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.3986, allocations: 34.56 kB / 0.6542 GB, free: 4.645 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3986, allocations: 3.938 kB / 0.6542 GB, free: 4.641 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.3987, allocations: 29.7 kB / 0.6543 GB, free: 4.605 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3988, allocations: 51.41 kB / 0.6543 GB, free: 4.543 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.17e-05/0.3988, allocations: 85 kB / 0.6544 GB, free: 4.453 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3989, allocations: 25.7 kB / 0.6544 GB, free: 4.422 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.3989, allocations: 84.14 kB / 0.6545 GB, free: 4.336 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.3989, allocations: 9.109 kB / 0.6545 GB, free: 4.328 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.3989, allocations: 4.031 kB / 0.6545 GB, free: 4.324 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.399, allocations: 310.8 kB / 0.6548 GB, free: 4.012 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.3991, allocations: 0 / 0.6548 GB, free: 4.012 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.3991, allocations: 0 / 0.6548 GB, free: 4.012 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.3991, allocations: 8 kB / 0.6548 GB, free: 4.004 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3991, allocations: 0 / 0.6548 GB, free: 4.004 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.589e-05/0.3992, allocations: 37.64 kB / 0.6549 GB, free: 3.961 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3992, allocations: 7.984 kB / 0.6549 GB, free: 3.953 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3992, allocations: 4.094 kB / 0.6549 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3992, allocations: 0 / 0.6549 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.233e-05/0.3993, allocations: 4 kB / 0.6549 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3993, allocations: 0 / 0.6549 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.254e-05/0.3993, allocations: 1.5 kB / 0.6549 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.3993, allocations: 3.938 kB / 0.6549 GB, free: 3.941 MB / 474.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 5.846e-05/0.3994, allocations: 104.9 kB / 0.655 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-06/0.3994, allocations: 0 / 0.655 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.3995, allocations: 44.69 kB / 0.655 GB, free: 3.781 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3995, allocations: 0 / 0.655 GB, free: 3.781 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3995, allocations: 0 / 0.655 GB, free: 3.781 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3995, allocations: 0 / 0.655 GB, free: 3.781 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.15e-05/0.3996, allocations: 130.2 kB / 0.6552 GB, free: 3.617 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3996, allocations: 4 kB / 0.6552 GB, free: 3.613 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.3997, allocations: 0 / 0.6552 GB, free: 3.613 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3997, allocations: 3.984 kB / 0.6552 GB, free: 3.609 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.3997, allocations: 7.969 kB / 0.6552 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3997, allocations: 4 kB / 0.6552 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3997, allocations: 0 / 0.6552 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.996e-05/0.3998, allocations: 57.05 kB / 0.6552 GB, free: 3.523 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.3998, allocations: 81.66 kB / 0.6553 GB, free: 3.426 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.3998, allocations: 4 kB / 0.6553 GB, free: 3.422 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.3999, allocations: 0 / 0.6553 GB, free: 3.422 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.3999, allocations: 32 / 0.6553 GB, free: 3.422 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.3999, allocations: 4 kB / 0.6553 GB, free: 3.418 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.542e-05/0.3999, allocations: 75.28 kB / 0.6554 GB, free: 3.344 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001969/0.4001, allocations: 8.562 kB / 0.6554 GB, free: 3.336 MB / 474.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.0001706/0.4003, allocations: 111.2 kB / 0.6555 GB, free: 3.215 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.1e-05/0.4004, allocations: 11.92 kB / 0.6555 GB, free: 3.203 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4004, allocations: 0 / 0.6555 GB, free: 3.203 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.855e-06/0.4004, allocations: 8 kB / 0.6555 GB, free: 3.195 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.12e-05/0.4005, allocations: 5.438 kB / 0.6555 GB, free: 3.191 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001532/0.4006, allocations: 47.84 kB / 0.6556 GB, free: 3.121 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.4009, allocations: 0.688 MB / 0.6562 GB, free: 2.406 MB / 474.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4009, allocations: 0 / 0.6562 GB, free: 2.406 MB / 474.7 MB Notification: Performance of Templates: time 0.001896/0.4028, allocations: 297.7 kB / 0.6565 GB, free: 2.137 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)