Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009273/0.0009272, allocations: 98.89 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 181 kB / 16.58 MB, free: 6.422 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.494/1.494, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.3 MB / 427 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004236, allocations: 12.53 kB / 0.5076 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2094, allocations: 82.31 MB / 0.588 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002033/0.2115, allocations: 1.208 MB / 0.5892 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2126, allocations: 0.5818 MB / 0.5897 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.2126, allocations: 4 kB / 0.5897 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.2127, allocations: 0 / 0.5897 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.2127, allocations: 7.922 kB / 0.5897 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.2131, allocations: 51.89 kB / 0.5898 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.738e-05/0.2132, allocations: 31.86 kB / 0.5898 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.2133, allocations: 15.98 kB / 0.5898 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.319e-05/0.2133, allocations: 11.92 kB / 0.5898 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.2134, allocations: 15.92 kB / 0.5899 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2134, allocations: 4 kB / 0.5899 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.2136, allocations: 87.91 kB / 0.59 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.2136, allocations: 11.92 kB / 0.59 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.2137, allocations: 33.7 kB / 0.59 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.2138, allocations: 51.91 kB / 0.59 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2138, allocations: 7.938 kB / 0.5901 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2138, allocations: 0 / 0.5901 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2138, allocations: 0 / 0.5901 GB, free: 0.9844 MB / 494.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.0004768/0.2143, allocations: 351.5 kB / 0.5904 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2144, allocations: 8.031 kB / 0.5904 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.2144, allocations: 7.906 kB / 0.5904 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2145, allocations: 171 kB / 0.5906 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2146, allocations: 11.94 kB / 0.5906 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.2146, allocations: 3.938 kB / 0.5906 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.2148, allocations: 61.66 kB / 0.5906 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.2148, allocations: 0 / 0.5906 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2148, allocations: 0 / 0.5906 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2148, allocations: 0 / 0.5906 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.66e-05/0.2149, allocations: 31.98 kB / 0.5907 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.2153, allocations: 280.7 kB / 0.5909 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.482e-05/0.2154, allocations: 34.56 kB / 0.591 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.2155, allocations: 16.92 kB / 0.591 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/0.216, allocations: 0.5584 MB / 0.5915 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.216, allocations: 30.56 kB / 0.5916 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.216, allocations: 0 / 0.5916 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002705/0.2163, allocations: 81.61 kB / 0.5916 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.2164, allocations: 63.34 kB / 0.5917 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2165, allocations: 117.8 kB / 0.5918 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2165, allocations: 25.7 kB / 0.5918 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.2165, allocations: 88.12 kB / 0.5919 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.2166, allocations: 11.84 kB / 0.5919 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.2166, allocations: 4 kB / 0.5919 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2167, allocations: 314.8 kB / 0.5922 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.916e-05/0.2168, allocations: 16.03 kB / 0.5923 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.2168, allocations: 11.98 kB / 0.5923 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.848e-05/0.2169, allocations: 12 kB / 0.5923 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2169, allocations: 0 / 0.5923 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001314/0.2171, allocations: 61.67 kB / 0.5923 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2171, allocations: 11.94 kB / 0.5923 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2171, allocations: 0 / 0.5923 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2171, allocations: 4 kB / 0.5923 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.465e-05/0.2172, allocations: 4 kB / 0.5924 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2172, allocations: 3.953 kB / 0.5924 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.2173, allocations: 7.984 kB / 0.5924 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.2173, allocations: 0 / 0.5924 GB, free: 14.27 MB / 0.4981 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 () * 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 0.0001074/0.2174, allocations: 117.8 kB / 0.5925 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.2174, allocations: 4 kB / 0.5925 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.2176, allocations: 69.14 kB / 0.5925 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2176, allocations: 0 / 0.5925 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2176, allocations: 4 kB / 0.5926 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2176, allocations: 3.953 kB / 0.5926 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.2178, allocations: 161.7 kB / 0.5927 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2178, allocations: 0 / 0.5927 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.2179, allocations: 15.95 kB / 0.5927 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2179, allocations: 0 / 0.5927 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2179, allocations: 0 / 0.5927 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2179, allocations: 0 / 0.5927 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2179, allocations: 4 kB / 0.5927 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.2181, allocations: 155.4 kB / 0.5929 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.2181, allocations: 93.03 kB / 0.593 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.2181, allocations: 4 kB / 0.593 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.2182, allocations: 0 / 0.593 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.2182, allocations: 4 kB / 0.593 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.2182, allocations: 0 / 0.593 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.086e-05/0.2183, allocations: 97.89 kB / 0.5931 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2183, allocations: 0 / 0.5931 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000223/0.2185, allocations: 12 kB / 0.5931 GB, free: 13.44 MB / 0.4981 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 () * 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.0001737/0.2187, allocations: 107.2 kB / 0.5932 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.2189, allocations: 31.92 kB / 0.5932 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2189, allocations: 0 / 0.5932 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.457e-05/0.2189, allocations: 15.98 kB / 0.5932 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.2192, allocations: 7.953 kB / 0.5932 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.2195, allocations: 174.4 kB / 0.5934 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.2198, allocations: 0.6809 MB / 0.5941 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.2198, allocations: 11.42 kB / 0.5941 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.405e-06/0.2198, allocations: 0 / 0.5941 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.002422/0.2222, allocations: 0.7103 MB / 0.5948 GB, free: 11.64 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile make -j1 -f IDEAS_dev_IDEAS.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 OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SpliceCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SpliceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SpliceCalcHelperMain.o] Error 1