Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 188.2 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4763/0.4763, allocations: 90.84 MB / 99.06 MB, free: 14.95 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.187/1.187, allocations: 221.4 MB / 342.8 MB, free: 4.988 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.00105/0.00105, allocations: 97.92 kB / 415.5 MB, free: 6.266 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.414e-06, allocations: 0 / 493.9 MB, free: 7.914 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3284, allocations: 72.31 MB / 0.5529 GB, free: 73.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.4377, allocations: 101.9 MB / 0.6524 GB, free: 7.961 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4379, allocations: 75.95 kB / 0.6525 GB, free: 7.887 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.006368/0.4443, allocations: 1.876 MB / 0.6543 GB, free: 6.043 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4443, allocations: 0 / 0.6543 GB, free: 6.043 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.0003845/0.4447, allocations: 379.9 kB / 0.6547 GB, free: 5.629 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4448, allocations: 8.031 kB / 0.6547 GB, free: 5.621 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.4448, allocations: 8.531 kB / 0.6547 GB, free: 5.613 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.445, allocations: 160 kB / 0.6549 GB, free: 5.418 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.445, allocations: 4 kB / 0.6549 GB, free: 5.414 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.445, allocations: 0 / 0.6549 GB, free: 5.414 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.139e-05/0.4451, allocations: 26.91 kB / 0.6549 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/0.4452, allocations: 44.97 kB / 0.6549 GB, free: 5.344 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4452, allocations: 4.688 kB / 0.6549 GB, free: 5.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.4452, allocations: 2.438 kB / 0.6549 GB, free: 5.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4452, allocations: 0.5625 kB / 0.6549 GB, free: 5.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.4456, allocations: 250.9 kB / 0.6552 GB, free: 5.059 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.352e-05/0.4456, allocations: 23.89 kB / 0.6552 GB, free: 5.027 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.4457, allocations: 9.672 kB / 0.6552 GB, free: 5.016 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000445/0.4461, allocations: 0.56 MB / 0.6557 GB, free: 4.328 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.4461, allocations: 35.5 kB / 0.6558 GB, free: 4.285 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.4461, allocations: 0 / 0.6558 GB, free: 4.285 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.4463, allocations: 50.75 kB / 0.6558 GB, free: 4.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.4464, allocations: 51.41 kB / 0.6559 GB, free: 4.168 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.761e-05/0.4465, allocations: 105 kB / 0.656 GB, free: 4.059 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.4465, allocations: 26.52 kB / 0.656 GB, free: 4.027 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.4465, allocations: 88.64 kB / 0.6561 GB, free: 3.938 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.4466, allocations: 11.91 kB / 0.6561 GB, free: 3.926 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-06/0.4466, allocations: 0.6875 kB / 0.6561 GB, free: 3.926 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4467, allocations: 316.6 kB / 0.6564 GB, free: 3.609 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.4467, allocations: 4 kB / 0.6564 GB, free: 3.605 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.294e-05/0.4467, allocations: 4 kB / 0.6564 GB, free: 3.602 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.4468, allocations: 8 kB / 0.6564 GB, free: 3.594 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4468, allocations: 0.625 kB / 0.6564 GB, free: 3.594 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.222e-05/0.4469, allocations: 50.38 kB / 0.6565 GB, free: 3.539 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4469, allocations: 7.906 kB / 0.6565 GB, free: 3.531 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.4469, allocations: 0.5 kB / 0.6565 GB, free: 3.531 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.4469, allocations: 0.5938 kB / 0.6565 GB, free: 3.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.447, allocations: 9.547 kB / 0.6565 GB, free: 3.523 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.447, allocations: 11.92 kB / 0.6565 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.4471, allocations: 4 kB / 0.6565 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.4471, allocations: 4 kB / 0.6565 GB, free: 3.508 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 (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.838e-05/0.4472, allocations: 101.6 kB / 0.6566 GB, free: 3.402 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.4472, allocations: 8.688 kB / 0.6566 GB, free: 3.395 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.4473, allocations: 51.19 kB / 0.6567 GB, free: 3.336 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4473, allocations: 8.438 kB / 0.6567 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4474, allocations: 0.5312 kB / 0.6567 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4474, allocations: 0 / 0.6567 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.4475, allocations: 142.6 kB / 0.6568 GB, free: 3.152 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4475, allocations: 5.25 kB / 0.6568 GB, free: 3.148 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.4476, allocations: 7.984 kB / 0.6568 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4476, allocations: 0.5 kB / 0.6568 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4476, allocations: 2 kB / 0.6568 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.4476, allocations: 0.875 kB / 0.6568 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4476, allocations: 0 / 0.6568 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000125/0.4477, allocations: 149.4 kB / 0.657 GB, free: 2.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.4478, allocations: 77.11 kB / 0.657 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.4478, allocations: 0.5312 kB / 0.657 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.4479, allocations: 8.438 kB / 0.657 GB, free: 2.879 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.4479, allocations: 8.172 kB / 0.6571 GB, free: 2.871 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.4479, allocations: 0 / 0.6571 GB, free: 2.871 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.593e-05/0.448, allocations: 87.28 kB / 0.6571 GB, free: 2.785 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.4482, allocations: 11.94 kB / 0.6571 GB, free: 2.773 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 (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.0001545/0.4484, allocations: 111.2 kB / 0.6573 GB, free: 2.656 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.736e-05/0.4485, allocations: 12 kB / 0.6573 GB, free: 2.645 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4485, allocations: 0 / 0.6573 GB, free: 2.645 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.4485, allocations: 8.062 kB / 0.6573 GB, free: 2.637 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.4486, allocations: 8.062 kB / 0.6573 GB, free: 2.629 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002151/0.4488, allocations: 67.64 kB / 0.6573 GB, free: 2.539 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.4491, allocations: 0.6958 MB / 0.658 GB, free: 1.816 MB / 474.7 MB Notification: Performance of SimCode: time 2.705e-06/0.4491, allocations: 3.938 kB / 0.658 GB, free: 1.812 MB / 474.7 MB Notification: Performance of Templates: time 0.002114/0.4513, allocations: 457 kB / 0.6585 GB, free: 1.395 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)