Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Delays.Examples.Delay.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.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006063/0.006063, allocations: 100.7 kB / 15.87 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 193.8 kB / 16.79 MB, free: 6.234 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.276/1.276, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.766/0.766, allocations: 132.2 MB / 422.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 55.61 kB / 0.5017 GB, free: 4.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3985, allocations: 80.21 MB / 0.58 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.196/0.5946, allocations: 181 MB / 0.7568 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008461/0.6031, allocations: 4.925 MB / 0.7616 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.6043, allocations: 27.81 kB / 0.7616 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.6056, allocations: 374 kB / 0.762 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.6092, allocations: 1.333 MB / 0.7633 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.6113, allocations: 0.6882 MB / 0.764 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002989/0.6143, allocations: 2.534 MB / 0.7664 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007503/0.615, allocations: 0.507 MB / 0.7669 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.6166, allocations: 0.778 MB / 0.7677 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.6176, allocations: 0.5589 MB / 0.7682 GB, free: 420 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.414e-05/0.6177, allocations: 32 kB / 0.7683 GB, free: 388 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.6206, allocations: 1.613 MB / 0.7698 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.6209, allocations: 235.3 kB / 0.7701 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000466/0.6213, allocations: 378.1 kB / 0.7704 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.6229, allocations: 1.037 MB / 0.7714 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6229, allocations: 0 / 0.7714 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6229, allocations: 0 / 0.7714 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.6229, allocations: 4 kB / 0.7714 GB, free: 13.12 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001697/0.6246, allocations: 1.098 MB / 0.7725 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.6247, allocations: 11.97 kB / 0.7725 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.6259, allocations: 210.8 kB / 0.7727 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/0.6268, allocations: 0.5848 MB / 0.7733 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.6268, allocations: 37 kB / 0.7733 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.6269, allocations: 48 kB / 0.7734 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.6277, allocations: 498.3 kB / 0.7738 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.6277, allocations: 3.984 kB / 0.7738 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.6278, allocations: 23.94 kB / 0.7739 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.6278, allocations: 17 kB / 0.7739 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.6286, allocations: 439.7 kB / 0.7743 GB, free: 10.08 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.6311, allocations: 1.994 MB / 0.7763 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.6317, allocations: 345.1 kB / 0.7766 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.6321, allocations: 209.2 kB / 0.7768 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/0.6324, allocations: 190.5 kB / 0.777 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.6324, allocations: 38.83 kB / 0.777 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.6324, allocations: 8 kB / 0.777 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001271/0.6337, allocations: 0.539 MB / 0.7775 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.6338, allocations: 55.41 kB / 0.7776 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.6344, allocations: 0.5069 MB / 0.7781 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.6345, allocations: 33.7 kB / 0.7781 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.6347, allocations: 304.2 kB / 0.7784 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6348, allocations: 122.2 kB / 0.7785 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.635, allocations: 77.92 kB / 0.7786 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.6351, allocations: 358.8 kB / 0.7789 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.6354, allocations: 146.1 kB / 0.7791 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.6358, allocations: 224.8 kB / 0.7793 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.6363, allocations: 331.2 kB / 0.7796 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6363, allocations: 0 / 0.7796 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000708/0.6371, allocations: 430 kB / 0.78 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.6371, allocations: 8 kB / 0.78 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6371, allocations: 3.938 kB / 0.78 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6371, allocations: 4 kB / 0.78 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.6375, allocations: 67.91 kB / 0.7801 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.6375, allocations: 8.094 kB / 0.7801 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004951/0.638, allocations: 51.7 kB / 0.7802 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.638, allocations: 16 kB / 0.7802 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004397/0.6385, allocations: 308 kB / 0.7805 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003047/0.6388, allocations: 207.8 kB / 0.7807 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005643/0.6394, allocations: 336.6 kB / 0.781 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.6394, allocations: 3.984 kB / 0.781 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006911/0.6401, allocations: 432.4 kB / 0.7814 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.884e-06/0.6401, allocations: 4 kB / 0.7814 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-06/0.6401, allocations: 4.094 kB / 0.7814 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.209e-06/0.6401, allocations: 7.938 kB / 0.7814 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.6404, allocations: 71.89 kB / 0.7815 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.6404, allocations: 4 kB / 0.7815 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.6409, allocations: 55.66 kB / 0.7815 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.641, allocations: 19.92 kB / 0.7816 GB, free: 2.27 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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 0.0001464/0.6411, allocations: 200.2 kB / 0.7817 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.6412, allocations: 55.34 kB / 0.7818 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007465/0.642, allocations: 431.1 kB / 0.7822 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.642, allocations: 12 kB / 0.7822 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.642, allocations: 0 / 0.7822 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006056/0.6426, allocations: 428.3 kB / 0.7826 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.6444, allocations: 1.171 MB / 0.7838 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6444, allocations: 0 / 0.7838 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/0.6448, allocations: 87.88 kB / 0.7839 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.6448, allocations: 0 / 0.7839 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.6449, allocations: 8 kB / 0.7839 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6449, allocations: 4.188 kB / 0.7839 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6449, allocations: 8 kB / 0.7839 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.646, allocations: 0.7236 MB / 0.7846 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.6462, allocations: 180.3 kB / 0.7848 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.6463, allocations: 8 kB / 0.7848 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.6468, allocations: 54.12 kB / 0.7848 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.6468, allocations: 27.84 kB / 0.7848 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.6469, allocations: 15.98 kB / 0.7849 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003868/0.6473, allocations: 366.8 kB / 0.7852 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6473, allocations: 0 / 0.7852 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008491/0.6481, allocations: 323.3 kB / 0.7855 GB, free: 14.04 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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 (33): * Single equations (assignments): 33 * 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 0.0004089/0.6485, allocations: 205.3 kB / 0.7857 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009188/0.6495, allocations: 0.5155 MB / 0.7862 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6495, allocations: 4 kB / 0.7862 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.6498, allocations: 173.8 kB / 0.7864 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.6515, allocations: 368.2 kB / 0.7867 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.6535, allocations: 1.515 MB / 0.7882 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.654, allocations: 0.9256 MB / 0.7891 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.6541, allocations: 55.42 kB / 0.7892 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.6541, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of Templates: time 0.01284/0.667, allocations: 9.814 MB / 0.7988 GB, free: 0.5234 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.makefile make -j1 -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Delays.Examples.DelayCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Delays.Examples.DelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Delays.Examples.DelayCalcHelperMain.o] Error 1