Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.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.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007887/0.0007888, allocations: 102.6 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.0008786/0.0008787, allocations: 171.3 kB / 16.58 MB, free: 6.383 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.428/1.428, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7583/0.7583, allocations: 132.3 MB / 424 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 8.594 kB / 0.504 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5608, allocations: 81.57 MB / 0.5837 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001953/0.5628, allocations: 1.283 MB / 0.5849 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008882/0.5637, allocations: 495.1 kB / 0.5854 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.5638, allocations: 1.312 kB / 0.5854 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.5639, allocations: 9.859 kB / 0.5854 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/0.564, allocations: 10.8 kB / 0.5854 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.5642, allocations: 34.59 kB / 0.5855 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.5643, allocations: 70.05 kB / 0.5855 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.5645, allocations: 37.08 kB / 0.5856 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.5646, allocations: 28.28 kB / 0.5856 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.5647, allocations: 28.36 kB / 0.5856 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.5647, allocations: 2.156 kB / 0.5856 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.029e-05/0.5648, allocations: 11.84 kB / 0.5856 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.5648, allocations: 11.38 kB / 0.5856 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.5649, allocations: 37.92 kB / 0.5857 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.565, allocations: 64.42 kB / 0.5857 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.565, allocations: 1.312 kB / 0.5857 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.565, allocations: 0 / 0.5857 GB, free: 2.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.565, allocations: 0 / 0.5857 GB, free: 2.539 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000462/0.5655, allocations: 386.4 kB / 0.5861 GB, free: 2.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5656, allocations: 8.938 kB / 0.5861 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.5656, allocations: 17.17 kB / 0.5861 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.5658, allocations: 206.1 kB / 0.5863 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.5658, allocations: 7 kB / 0.5863 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.5658, allocations: 4 kB / 0.5863 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.5661, allocations: 113.8 kB / 0.5864 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.5661, allocations: 3.938 kB / 0.5864 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.5661, allocations: 1.031 kB / 0.5864 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5662, allocations: 1.438 kB / 0.5864 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.5664, allocations: 116.2 kB / 0.5866 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.567, allocations: 383 kB / 0.5869 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.5672, allocations: 69.73 kB / 0.587 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.5674, allocations: 58.56 kB / 0.587 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.5674, allocations: 7.172 kB / 0.5871 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.5674, allocations: 32.23 kB / 0.5871 GB, free: 1.422 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.5674, allocations: 1.094 kB / 0.5871 GB, free: 1.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005135/0.568, allocations: 177.8 kB / 0.5873 GB, free: 1.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.568, allocations: 52.38 kB / 0.5873 GB, free: 1.297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.5681, allocations: 138.9 kB / 0.5874 GB, free: 1.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.5681, allocations: 26.42 kB / 0.5875 GB, free: 1.148 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.5682, allocations: 108.6 kB / 0.5876 GB, free: 1.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.5682, allocations: 11.75 kB / 0.5876 GB, free: 1.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.5682, allocations: 0.7188 kB / 0.5876 GB, free: 1.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.5683, allocations: 319.8 kB / 0.5879 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.5684, allocations: 51.8 kB / 0.5879 GB, free: 0.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.5686, allocations: 44.25 kB / 0.588 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.5687, allocations: 49.81 kB / 0.588 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5687, allocations: 0 / 0.588 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002898/0.569, allocations: 137.9 kB / 0.5882 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.569, allocations: 8.984 kB / 0.5882 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.569, allocations: 4.953 kB / 0.5882 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5691, allocations: 0.6562 kB / 0.5882 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.5692, allocations: 24.91 kB / 0.5882 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.5692, allocations: 0.875 kB / 0.5882 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.5693, allocations: 18.72 kB / 0.5882 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.5693, allocations: 4.016 kB / 0.5882 GB, free: 0.6094 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 (6): * Single equations (assignments): 6 * 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 7.86e-05/0.5694, allocations: 124.5 kB / 0.5883 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.5694, allocations: 4.812 kB / 0.5883 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.5698, allocations: 160 kB / 0.5885 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5698, allocations: 5.625 kB / 0.5885 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5698, allocations: 0 / 0.5885 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5699, allocations: 1.797 kB / 0.5885 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.5701, allocations: 211.8 kB / 0.5887 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5701, allocations: 7.938 kB / 0.5887 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.5702, allocations: 20.25 kB / 0.5887 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.5702, allocations: 1.375 kB / 0.5887 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.5702, allocations: 4.688 kB / 0.5887 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.5702, allocations: 5.875 kB / 0.5887 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.5702, allocations: 0 / 0.5887 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.5706, allocations: 232.1 kB / 0.589 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.5706, allocations: 87.27 kB / 0.589 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.5707, allocations: 1.219 kB / 0.589 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.5708, allocations: 14.67 kB / 0.5891 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.5708, allocations: 13.94 kB / 0.5891 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.5709, allocations: 4.641 kB / 0.5891 GB, free: 15.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.503e-05/0.5709, allocations: 102.9 kB / 0.5892 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5709, allocations: 0 / 0.5892 GB, free: 15.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.5712, allocations: 16.88 kB / 0.5892 GB, free: 15.82 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 (6): * Single equations (assignments): 6 * 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.0001781/0.5714, allocations: 104.7 kB / 0.5893 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.5717, allocations: 109.4 kB / 0.5894 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5717, allocations: 0 / 0.5894 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.5719, allocations: 58.22 kB / 0.5894 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.5721, allocations: 10.41 kB / 0.5895 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.5726, allocations: 275.9 kB / 0.5897 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.573, allocations: 0.7034 MB / 0.5904 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.573, allocations: 13.88 kB / 0.5904 GB, free: 14.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.573, allocations: 3.938 kB / 0.5904 GB, free: 14.77 MB / 446.1 MB Notification: Performance of Templates: time 0.003445/0.5765, allocations: 1.097 MB / 0.5915 GB, free: 14.69 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.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.Math.Examples.VectorFunctionsCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.VectorFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.VectorFunctionsCalcHelperMain.o] Error 1