Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009571/0.0009609, allocations: 96.14 kB / 15.87 MB, free: 16 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.001012/0.001012, allocations: 191.6 kB / 16.79 MB, free: 6.812 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.316/1.316, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7364/0.7364, allocations: 132.2 MB / 422.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 59.62 kB / 0.5017 GB, free: 9.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1634, allocations: 80.21 MB / 0.58 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001686/0.1652, allocations: 0.6393 MB / 0.5807 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 3.138e-05/0.1652, allocations: 3.938 kB / 0.5807 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.277e-05/0.1652, allocations: 4 kB / 0.5807 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.1653, allocations: 0 / 0.5807 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.1653, allocations: 0 / 0.5807 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.789e-05/0.1653, allocations: 0 / 0.5807 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.155e-05/0.1654, allocations: 4 kB / 0.5807 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.1654, allocations: 0 / 0.5807 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.074e-05/0.1654, allocations: 0 / 0.5807 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.433e-05/0.1655, allocations: 8 kB / 0.5807 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.1655, allocations: 3.938 kB / 0.5807 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-06/0.1655, allocations: 0 / 0.5807 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.1655, allocations: 3.984 kB / 0.5807 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.1655, allocations: 3.938 kB / 0.5807 GB, free: 8.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.581e-05/0.1656, allocations: 4 kB / 0.5807 GB, free: 8.531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1656, allocations: 0 / 0.5807 GB, free: 8.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1656, allocations: 0 / 0.5807 GB, free: 8.531 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1656, allocations: 0 / 0.5807 GB, free: 8.531 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002469/0.1659, allocations: 311.6 kB / 0.581 GB, free: 8.176 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1659, allocations: 12.03 kB / 0.581 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.1659, allocations: 0.9375 kB / 0.581 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.241e-05/0.166, allocations: 168.4 kB / 0.5812 GB, free: 7.961 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.166, allocations: 384 / 0.5812 GB, free: 7.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.166, allocations: 4.359 kB / 0.5812 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.141e-05/0.1661, allocations: 30.2 kB / 0.5812 GB, free: 7.922 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-06/0.1661, allocations: 192 / 0.5812 GB, free: 7.922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.1661, allocations: 3.938 kB / 0.5812 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1661, allocations: 4 kB / 0.5812 GB, free: 7.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.438e-05/0.1662, allocations: 3.984 kB / 0.5812 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.1663, allocations: 145.7 kB / 0.5813 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.1663, allocations: 26.61 kB / 0.5814 GB, free: 7.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.853e-05/0.1663, allocations: 4.859 kB / 0.5814 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.1664, allocations: 0 / 0.5814 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1664, allocations: 38.56 kB / 0.5814 GB, free: 7.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.1664, allocations: 0 / 0.5814 GB, free: 7.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001062/0.1665, allocations: 41.62 kB / 0.5814 GB, free: 7.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.1665, allocations: 51.41 kB / 0.5815 GB, free: 7.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.115e-05/0.1666, allocations: 93.86 kB / 0.5816 GB, free: 7.418 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.1666, allocations: 25.7 kB / 0.5816 GB, free: 7.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.1666, allocations: 80.14 kB / 0.5817 GB, free: 7.305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1666, allocations: 3.906 kB / 0.5817 GB, free: 7.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.1667, allocations: 13.72 kB / 0.5817 GB, free: 7.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.1668, allocations: 315 kB / 0.582 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-06/0.1668, allocations: 0 / 0.582 GB, free: 6.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-06/0.1668, allocations: 4 kB / 0.582 GB, free: 6.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.457e-05/0.1668, allocations: 12.8 kB / 0.582 GB, free: 6.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1668, allocations: 0 / 0.582 GB, free: 6.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.354e-05/0.1669, allocations: 37.69 kB / 0.5821 GB, free: 6.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1669, allocations: 4 kB / 0.5821 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.1669, allocations: 3.938 kB / 0.5821 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1669, allocations: 3.938 kB / 0.5821 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.156e-05/0.167, allocations: 4.094 kB / 0.5821 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.167, allocations: 7.938 kB / 0.5821 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-06/0.167, allocations: 0 / 0.5821 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.167, allocations: 0 / 0.5821 GB, free: 6.879 MB / 494.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.1671, allocations: 105.8 kB / 0.5822 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-06/0.1671, allocations: 0 / 0.5822 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.497e-05/0.1671, allocations: 7.062 kB / 0.5822 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1671, allocations: 3.984 kB / 0.5822 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1671, allocations: 4 kB / 0.5822 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1671, allocations: 4 kB / 0.5822 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.023e-05/0.1672, allocations: 145.7 kB / 0.5823 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1672, allocations: 4 kB / 0.5823 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-06/0.1672, allocations: 3.938 kB / 0.5823 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1672, allocations: 4 kB / 0.5823 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.1672, allocations: 3.938 kB / 0.5824 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1672, allocations: 0 / 0.5824 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1672, allocations: 0 / 0.5824 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.12e-05/0.1673, allocations: 61.12 kB / 0.5824 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.1673, allocations: 77.11 kB / 0.5825 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.1673, allocations: 7.938 kB / 0.5825 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.75e-06/0.1673, allocations: 0 / 0.5825 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-06/0.1674, allocations: 0 / 0.5825 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-06/0.1674, allocations: 0 / 0.5825 GB, free: 6.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.098e-05/0.1674, allocations: 75.28 kB / 0.5826 GB, free: 6.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1674, allocations: 0 / 0.5826 GB, free: 6.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001682/0.1676, allocations: 0 / 0.5826 GB, free: 6.281 MB / 494.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.198e-05/0.1676, allocations: 103.5 kB / 0.5827 GB, free: 6.172 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.661e-05/0.1677, allocations: 3.938 kB / 0.5827 GB, free: 6.168 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1677, allocations: 4 kB / 0.5827 GB, free: 6.164 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.498e-06/0.1677, allocations: 0 / 0.5827 GB, free: 6.164 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.1679, allocations: 0.875 kB / 0.5827 GB, free: 6.164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000178/0.168, allocations: 112.3 kB / 0.5828 GB, free: 6.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.1683, allocations: 0.6732 MB / 0.5834 GB, free: 5.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.1683, allocations: 11.44 kB / 0.5834 GB, free: 5.309 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1683, allocations: 0 / 0.5834 GB, free: 5.309 MB / 494.1 MB Notification: Performance of Templates: time 0.001237/0.1695, allocations: 329.6 kB / 0.5838 GB, free: 4.988 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Utilities.Time.Examples.ModelTimeCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Time.Examples.ModelTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Time.Examples.ModelTimeCalcHelperMain.o] Error 1