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.0007641/0.0007641, allocations: 99.42 kB / 16.02 MB, free: 76 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.0008275/0.0008277, allocations: 186.7 kB / 16.92 MB, free: 6.75 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.266/1.266, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6946/0.6946, allocations: 132.3 MB / 424.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 11.94 kB / 0.5046 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3985, allocations: 81.56 MB / 0.5843 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.0007016/0.3992, allocations: 326.2 kB / 0.5846 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 3.611e-05/0.3993, allocations: 7.812 kB / 0.5846 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.3e-05/0.3993, allocations: 0 / 0.5846 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.3993, allocations: 0.5625 kB / 0.5846 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.729e-06/0.3993, allocations: 0 / 0.5846 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.122e-05/0.3994, allocations: 1.25 kB / 0.5846 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.176e-05/0.3994, allocations: 1 kB / 0.5846 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.3995, allocations: 1.719 kB / 0.5846 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.361e-05/0.3995, allocations: 4.531 kB / 0.5846 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.787e-05/0.3995, allocations: 4.656 kB / 0.5846 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3995, allocations: 1.344 kB / 0.5846 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-06/0.3995, allocations: 0 / 0.5846 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.3995, allocations: 0 / 0.5846 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.3996, allocations: 25.7 kB / 0.5846 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 3.687e-05/0.3996, allocations: 1.828 kB / 0.5846 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3996, allocations: 0.5625 kB / 0.5846 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3996, allocations: 0 / 0.5846 GB, free: 4.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3996, allocations: 1.125 kB / 0.5846 GB, free: 4.051 MB / 430.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.0001921/0.3998, allocations: 317.8 kB / 0.5849 GB, free: 3.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3999, allocations: 13.38 kB / 0.585 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.3999, allocations: 2.734 kB / 0.585 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.849e-05/0.4, allocations: 165.1 kB / 0.5851 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.4, allocations: 1.531 kB / 0.5851 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.4, allocations: 1.125 kB / 0.5851 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.592e-05/0.4001, allocations: 32.2 kB / 0.5851 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.4001, allocations: 0.7969 kB / 0.5851 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.4001, allocations: 3.938 kB / 0.5852 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4001, allocations: 1.219 kB / 0.5852 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.47e-05/0.4001, allocations: 0.625 kB / 0.5852 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.832e-05/0.4002, allocations: 148.5 kB / 0.5853 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.682e-05/0.4003, allocations: 21.91 kB / 0.5853 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.4003, allocations: 11.42 kB / 0.5853 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.4003, allocations: 0.625 kB / 0.5853 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.4003, allocations: 31.97 kB / 0.5854 GB, free: 3.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.4003, allocations: 0 / 0.5854 GB, free: 3.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001026/0.4004, allocations: 39.3 kB / 0.5854 GB, free: 3.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.4005, allocations: 56.88 kB / 0.5855 GB, free: 3.074 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.628e-05/0.4005, allocations: 89.86 kB / 0.5855 GB, free: 2.977 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-06/0.4005, allocations: 25.7 kB / 0.5856 GB, free: 2.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.628e-06/0.4005, allocations: 81.64 kB / 0.5856 GB, free: 2.863 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.4005, allocations: 4.719 kB / 0.5856 GB, free: 2.859 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.4006, allocations: 10.33 kB / 0.5857 GB, free: 2.844 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.4006, allocations: 312.6 kB / 0.586 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-06/0.4006, allocations: 5.062 kB / 0.586 GB, free: 2.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.4006, allocations: 5.094 kB / 0.586 GB, free: 2.523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.027e-05/0.4007, allocations: 11.61 kB / 0.586 GB, free: 2.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4007, allocations: 0.875 kB / 0.586 GB, free: 2.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.832e-05/0.4007, allocations: 31.23 kB / 0.586 GB, free: 2.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4007, allocations: 5.25 kB / 0.586 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4007, allocations: 1.594 kB / 0.586 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4008, allocations: 7.875 kB / 0.586 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.4008, allocations: 5.938 kB / 0.586 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.4008, allocations: 0.75 kB / 0.586 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.039e-05/0.4008, allocations: 0.6875 kB / 0.586 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.4008, allocations: 8.547 kB / 0.586 GB, free: 2.461 MB / 430.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 4.016e-05/0.4009, allocations: 111.4 kB / 0.5861 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-06/0.4009, allocations: 1.422 kB / 0.5861 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.351e-05/0.4009, allocations: 7.719 kB / 0.5861 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4009, allocations: 1.844 kB / 0.5861 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4009, allocations: 0 / 0.5861 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4009, allocations: 4 kB / 0.5862 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.405e-05/0.401, allocations: 148.2 kB / 0.5863 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.401, allocations: 1.438 kB / 0.5863 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-06/0.401, allocations: 6.094 kB / 0.5863 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.401, allocations: 0.7031 kB / 0.5863 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.401, allocations: 5.062 kB / 0.5863 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.401, allocations: 0 / 0.5863 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.401, allocations: 0 / 0.5863 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.05e-05/0.4011, allocations: 57.41 kB / 0.5864 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.4011, allocations: 81.86 kB / 0.5864 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-06/0.4011, allocations: 6.156 kB / 0.5864 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-06/0.4011, allocations: 0 / 0.5864 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.4012, allocations: 1.703 kB / 0.5864 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.4012, allocations: 0 / 0.5864 GB, free: 1.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.344e-05/0.4012, allocations: 80.03 kB / 0.5865 GB, free: 1.887 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4012, allocations: 0 / 0.5865 GB, free: 1.887 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.4014, allocations: 0.9375 kB / 0.5865 GB, free: 1.887 MB / 430.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.271e-05/0.4015, allocations: 101.2 kB / 0.5866 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.401e-05/0.4015, allocations: 4.203 kB / 0.5866 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4015, allocations: 0 / 0.5866 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.362e-06/0.4016, allocations: 2.703 kB / 0.5866 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.4017, allocations: 5.859 kB / 0.5866 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001687/0.4019, allocations: 106.9 kB / 0.5867 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.228e-05/0.402, allocations: 0.6712 MB / 0.5874 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.402, allocations: 12.16 kB / 0.5874 GB, free: 0.957 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.402, allocations: 0.8125 kB / 0.5874 GB, free: 0.957 MB / 430.1 MB Notification: Performance of Templates: time 0.0014/0.4034, allocations: 325.1 kB / 0.5877 GB, free: 0.9414 MB / 430.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