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.000837/0.000837, allocations: 102.7 kB / 15.71 MB, free: 460 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.0009052/0.0009051, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.377/1.377, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7296/0.7296, allocations: 132.3 MB / 424 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 8 kB / 0.504 GB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5089, allocations: 81.58 MB / 0.5837 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.0009424/0.51, allocations: 321.5 kB / 0.584 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 4.777e-05/0.51, allocations: 4.562 kB / 0.584 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.51, allocations: 1 kB / 0.584 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.5101, allocations: 0 / 0.584 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.847e-06/0.5101, allocations: 0 / 0.584 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.558e-05/0.5101, allocations: 2.266 kB / 0.584 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.658e-05/0.5102, allocations: 4.734 kB / 0.584 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.573e-05/0.5103, allocations: 3.328 kB / 0.584 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.634e-05/0.5103, allocations: 0 / 0.584 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.393e-05/0.5103, allocations: 5.719 kB / 0.584 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.5103, allocations: 0 / 0.584 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.697e-06/0.5103, allocations: 0 / 0.584 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-06/0.5104, allocations: 1.375 kB / 0.584 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.5104, allocations: 26.3 kB / 0.584 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.767e-05/0.5104, allocations: 1.703 kB / 0.584 GB, free: 3.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5105, allocations: 4 kB / 0.584 GB, free: 3.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.5105, allocations: 0 / 0.584 GB, free: 3.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.5105, allocations: 4.656 kB / 0.584 GB, free: 3.738 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.0002233/0.5107, allocations: 306.5 kB / 0.5843 GB, free: 3.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.5108, allocations: 10.38 kB / 0.5843 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.5108, allocations: 0 / 0.5843 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.983e-05/0.5109, allocations: 165.5 kB / 0.5845 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.5109, allocations: 3.938 kB / 0.5845 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.5109, allocations: 5.062 kB / 0.5845 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/0.511, allocations: 31.28 kB / 0.5845 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.511, allocations: 0 / 0.5845 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.511, allocations: 1 kB / 0.5845 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5111, allocations: 0 / 0.5845 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.122e-05/0.5111, allocations: 6.031 kB / 0.5845 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.5112, allocations: 147.9 kB / 0.5847 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.113e-05/0.5113, allocations: 21.02 kB / 0.5847 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.5113, allocations: 8.172 kB / 0.5847 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.5113, allocations: 4.844 kB / 0.5847 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.5113, allocations: 35.95 kB / 0.5847 GB, free: 2.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.5113, allocations: 0 / 0.5847 GB, free: 2.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.5115, allocations: 34.94 kB / 0.5848 GB, free: 2.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.5115, allocations: 53.06 kB / 0.5848 GB, free: 2.777 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.421e-05/0.5116, allocations: 89.86 kB / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.5116, allocations: 25.7 kB / 0.5849 GB, free: 2.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.5116, allocations: 85.8 kB / 0.585 GB, free: 2.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.5117, allocations: 4.812 kB / 0.585 GB, free: 2.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.5117, allocations: 0 / 0.585 GB, free: 2.559 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.5118, allocations: 321 kB / 0.5853 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-06/0.5118, allocations: 3.938 kB / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.5118, allocations: 1.344 kB / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.173e-05/0.5119, allocations: 2.312 kB / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5119, allocations: 0 / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.365e-05/0.5119, allocations: 35.89 kB / 0.5854 GB, free: 2.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.512, allocations: 5.156 kB / 0.5854 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.512, allocations: 0.625 kB / 0.5854 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.512, allocations: 2.062 kB / 0.5854 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.5121, allocations: 0.625 kB / 0.5854 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5121, allocations: 0.7969 kB / 0.5854 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.5121, allocations: 4.594 kB / 0.5854 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.5121, allocations: 1 kB / 0.5854 GB, free: 2.195 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.844e-05/0.5122, allocations: 111.7 kB / 0.5855 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.5122, allocations: 8.031 kB / 0.5855 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.5122, allocations: 4.5 kB / 0.5855 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5123, allocations: 0.625 kB / 0.5855 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5123, allocations: 5.359 kB / 0.5855 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.5123, allocations: 0 / 0.5855 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.766e-05/0.5123, allocations: 149.2 kB / 0.5856 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5124, allocations: 0 / 0.5856 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.073e-05/0.5124, allocations: 1.969 kB / 0.5856 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5124, allocations: 0.5312 kB / 0.5856 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5124, allocations: 4.5 kB / 0.5857 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5124, allocations: 1.391 kB / 0.5857 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5124, allocations: 4 kB / 0.5857 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.375e-05/0.5125, allocations: 56.59 kB / 0.5857 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.5125, allocations: 82.08 kB / 0.5858 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.5125, allocations: 1.672 kB / 0.5858 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-06/0.5125, allocations: 4.797 kB / 0.5858 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.5126, allocations: 1.281 kB / 0.5858 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.5126, allocations: 0 / 0.5858 GB, free: 1.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.716e-05/0.5126, allocations: 80.06 kB / 0.5859 GB, free: 1.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5126, allocations: 0 / 0.5859 GB, free: 1.617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.5128, allocations: 1.594 kB / 0.5859 GB, free: 1.617 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 (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.0001208/0.513, allocations: 98.73 kB / 0.586 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.5131, allocations: 3.344 kB / 0.586 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5131, allocations: 1 kB / 0.586 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.5131, allocations: 1.25 kB / 0.586 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.5133, allocations: 11.94 kB / 0.586 GB, free: 1.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.5135, allocations: 104.4 kB / 0.5861 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.5137, allocations: 0.6708 MB / 0.5867 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.5137, allocations: 8.406 kB / 0.5867 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5137, allocations: 0 / 0.5867 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of Templates: time 0.001701/0.5154, allocations: 321.6 kB / 0.5871 GB, free: 0.6758 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++ 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_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