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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.0008638, allocations: 95.06 kB / 16.33 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 187 kB / 17.23 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 241.2 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7594/0.7594, allocations: 114.3 MB / 406.7 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003339, allocations: 8 kB / 494.4 MB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4625, allocations: 77.25 MB / 0.5583 GB, free: 36.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.001617/0.4641, allocations: 1.203 MB / 0.5595 GB, free: 35.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009446/0.4651, allocations: 0.5904 MB / 0.5601 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.4652, allocations: 1.219 kB / 0.5601 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.4652, allocations: 8.484 kB / 0.5601 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.4652, allocations: 2.469 kB / 0.5601 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.4655, allocations: 60.05 kB / 0.5601 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.832e-05/0.4656, allocations: 28 kB / 0.5601 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.4657, allocations: 16.67 kB / 0.5602 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.4658, allocations: 12.61 kB / 0.5602 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.4659, allocations: 14.91 kB / 0.5602 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.4659, allocations: 1.844 kB / 0.5602 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.4661, allocations: 105.4 kB / 0.5603 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.4661, allocations: 1.875 kB / 0.5603 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.4661, allocations: 27.73 kB / 0.5603 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.4662, allocations: 62.06 kB / 0.5604 GB, free: 35.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4663, allocations: 0 / 0.5604 GB, free: 35.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4663, allocations: 2.406 kB / 0.5604 GB, free: 35.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.4663, allocations: 1.344 kB / 0.5604 GB, free: 35.39 MB / 446.1 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.0003544/0.4666, allocations: 353.5 kB / 0.5607 GB, free: 35.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4667, allocations: 13.7 kB / 0.5607 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.4667, allocations: 10.52 kB / 0.5607 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.4668, allocations: 166 kB / 0.5609 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4668, allocations: 2.281 kB / 0.5609 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.4669, allocations: 2.828 kB / 0.5609 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.467, allocations: 59.11 kB / 0.561 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.467, allocations: 3.953 kB / 0.561 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.467, allocations: 1.469 kB / 0.561 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4671, allocations: 0 / 0.561 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.4672, allocations: 35.05 kB / 0.561 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.4675, allocations: 282 kB / 0.5613 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.4676, allocations: 31.86 kB / 0.5613 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.4676, allocations: 17.39 kB / 0.5613 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003649/0.468, allocations: 0.5672 MB / 0.5619 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.468, allocations: 36.06 kB / 0.5619 GB, free: 33.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.4681, allocations: 0.9375 kB / 0.5619 GB, free: 33.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002416/0.4683, allocations: 73.42 kB / 0.562 GB, free: 33.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.4683, allocations: 52.72 kB / 0.562 GB, free: 33.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.422e-05/0.4684, allocations: 124.2 kB / 0.5621 GB, free: 33.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.4684, allocations: 25.7 kB / 0.5622 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.4685, allocations: 93.91 kB / 0.5623 GB, free: 33.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.4685, allocations: 1.469 kB / 0.5623 GB, free: 33.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.4685, allocations: 0 / 0.5623 GB, free: 33.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.4686, allocations: 319.7 kB / 0.5626 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.4686, allocations: 11.94 kB / 0.5626 GB, free: 33.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.4686, allocations: 11.03 kB / 0.5626 GB, free: 33.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.423e-05/0.4687, allocations: 20.55 kB / 0.5626 GB, free: 33.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4687, allocations: 3.953 kB / 0.5626 GB, free: 33.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.4688, allocations: 60.67 kB / 0.5627 GB, free: 33.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4688, allocations: 6.688 kB / 0.5627 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4688, allocations: 1.531 kB / 0.5627 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.4689, allocations: 0.5938 kB / 0.5627 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.4689, allocations: 8.625 kB / 0.5627 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4689, allocations: 0 / 0.5627 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.469, allocations: 7.625 kB / 0.5627 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.469, allocations: 2.312 kB / 0.5627 GB, free: 33.02 MB / 446.1 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 () * Number of clocked 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.718e-05/0.4691, allocations: 114.4 kB / 0.5628 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.4691, allocations: 11.02 kB / 0.5628 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.4692, allocations: 71.47 kB / 0.5629 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4692, allocations: 1.469 kB / 0.5629 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4693, allocations: 1.031 kB / 0.5629 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4693, allocations: 2.812 kB / 0.5629 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.4694, allocations: 164.6 kB / 0.563 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4694, allocations: 1.969 kB / 0.563 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.4694, allocations: 12.06 kB / 0.5631 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4695, allocations: 0 / 0.5631 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.4695, allocations: 2.5 kB / 0.5631 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4695, allocations: 0 / 0.5631 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4695, allocations: 0 / 0.5631 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.4696, allocations: 169.4 kB / 0.5632 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.4696, allocations: 77.11 kB / 0.5633 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.4697, allocations: 4.953 kB / 0.5633 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.4697, allocations: 6.5 kB / 0.5633 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.4698, allocations: 0.5 kB / 0.5633 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.4698, allocations: 2.031 kB / 0.5633 GB, free: 32.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.863e-05/0.4698, allocations: 98.36 kB / 0.5634 GB, free: 32.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4698, allocations: 1.031 kB / 0.5634 GB, free: 32.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.47, allocations: 18.25 kB / 0.5634 GB, free: 32.31 MB / 446.1 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 () * Number of clocked 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.0001263/0.4702, allocations: 100.9 kB / 0.5635 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.4703, allocations: 30.98 kB / 0.5635 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4703, allocations: 0 / 0.5635 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.4704, allocations: 14.34 kB / 0.5636 GB, free: 32.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.4706, allocations: 7.047 kB / 0.5636 GB, free: 32.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.4708, allocations: 172.9 kB / 0.5637 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.471, allocations: 0.6826 MB / 0.5644 GB, free: 31.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.471, allocations: 10.12 kB / 0.5644 GB, free: 31.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.471, allocations: 0 / 0.5644 GB, free: 31.35 MB / 446.1 MB Notification: Performance of Templates: time 0.002372/0.4734, allocations: 0.7008 MB / 0.5651 GB, free: 31.34 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.SpliceCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.SpliceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.SpliceCalcHelperMain.o] Error 1