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.000834/0.000834, allocations: 98.88 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.0009714/0.0009717, allocations: 180.5 kB / 16.92 MB, free: 6.684 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.288/1.288, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.748/0.748, allocations: 132.3 MB / 424.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 8 kB / 0.5046 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4174, allocations: 81.59 MB / 0.5843 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.2249/0.6423, allocations: 178.6 MB / 0.7587 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007775/0.6502, allocations: 4.868 MB / 0.7635 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.6512, allocations: 27.81 kB / 0.7635 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.6524, allocations: 374 kB / 0.7639 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.6564, allocations: 1.327 MB / 0.7651 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.6586, allocations: 0.7023 MB / 0.7658 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002988/0.6616, allocations: 2.538 MB / 0.7683 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008125/0.6624, allocations: 497.8 kB / 0.7688 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.6641, allocations: 0.7584 MB / 0.7695 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.6653, allocations: 0.5412 MB / 0.7701 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.534e-05/0.6654, allocations: 32 kB / 0.7701 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.6685, allocations: 1.605 MB / 0.7717 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.6688, allocations: 223.3 kB / 0.7719 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.6693, allocations: 383.8 kB / 0.7722 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.6709, allocations: 1.025 MB / 0.7732 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6709, allocations: 0 / 0.7732 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6709, allocations: 0 / 0.7732 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.6709, allocations: 0 / 0.7732 GB, free: 14.29 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.001774/0.6727, allocations: 0.9666 MB / 0.7742 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.6728, allocations: 8.031 kB / 0.7742 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.6741, allocations: 210.8 kB / 0.7744 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009241/0.675, allocations: 0.5849 MB / 0.775 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.6751, allocations: 36.98 kB / 0.775 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-05/0.6752, allocations: 52 kB / 0.775 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009106/0.6761, allocations: 0.4945 MB / 0.7755 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.6761, allocations: 0 / 0.7755 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.6762, allocations: 19.94 kB / 0.7755 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.6762, allocations: 17 kB / 0.7756 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008014/0.677, allocations: 451.7 kB / 0.776 GB, free: 11.37 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.002746/0.6798, allocations: 2.006 MB / 0.7779 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.6804, allocations: 341.1 kB / 0.7783 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.6807, allocations: 225.3 kB / 0.7785 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/0.681, allocations: 194.5 kB / 0.7787 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.6811, allocations: 34.84 kB / 0.7787 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.6811, allocations: 0 / 0.7787 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001256/0.6824, allocations: 0.5701 MB / 0.7793 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.6824, allocations: 55.41 kB / 0.7793 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/0.683, allocations: 0.503 MB / 0.7798 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/0.6831, allocations: 37.7 kB / 0.7798 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.6833, allocations: 304.2 kB / 0.7801 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.6834, allocations: 122.2 kB / 0.7803 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.6835, allocations: 29.7 kB / 0.7803 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.6837, allocations: 366.8 kB / 0.7806 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.684, allocations: 144.6 kB / 0.7808 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.6843, allocations: 221.5 kB / 0.781 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.6849, allocations: 347.2 kB / 0.7813 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6849, allocations: 4 kB / 0.7813 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007711/0.6857, allocations: 438 kB / 0.7817 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.77e-05/0.6858, allocations: 127.1 kB / 0.7819 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6858, allocations: 0 / 0.7819 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.6859, allocations: 4 kB / 0.7819 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.6862, allocations: 67.91 kB / 0.7819 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.6862, allocations: 4 kB / 0.7819 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.6868, allocations: 67.64 kB / 0.782 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.6868, allocations: 8 kB / 0.782 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.6869, allocations: 4 kB / 0.782 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006302/0.6875, allocations: 359.7 kB / 0.7823 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.6875, allocations: 0 / 0.7823 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-06/0.6875, allocations: 0 / 0.7823 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.6878, allocations: 83.98 kB / 0.7824 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.6878, allocations: 3.938 kB / 0.7824 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.6883, allocations: 59.66 kB / 0.7825 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.6884, allocations: 12 kB / 0.7825 GB, free: 4.363 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.0003159/0.6887, allocations: 297 kB / 0.7828 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/0.6888, allocations: 59.25 kB / 0.7828 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/0.6896, allocations: 427.3 kB / 0.7832 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.6896, allocations: 7.938 kB / 0.7832 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6896, allocations: 0 / 0.7832 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006592/0.6903, allocations: 448.2 kB / 0.7837 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.6921, allocations: 1.183 MB / 0.7848 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6921, allocations: 4 kB / 0.7848 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.6925, allocations: 83.89 kB / 0.7849 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.6925, allocations: 4 kB / 0.7849 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.6926, allocations: 15.98 kB / 0.7849 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.6926, allocations: 7.938 kB / 0.7849 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6926, allocations: 0 / 0.7849 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.6936, allocations: 0.7434 MB / 0.7857 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.6938, allocations: 180.3 kB / 0.7858 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.6939, allocations: 8 kB / 0.7858 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.6944, allocations: 55.89 kB / 0.7859 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.6945, allocations: 23.91 kB / 0.7859 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.6945, allocations: 16 kB / 0.7859 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004093/0.6949, allocations: 366.8 kB / 0.7863 GB, free: 304 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.695, allocations: 0 / 0.7863 GB, free: 304 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008386/0.6958, allocations: 331.3 kB / 0.7866 GB, free: 15.97 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.0004373/0.6963, allocations: 185.8 kB / 0.7868 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000982/0.6973, allocations: 0.5307 MB / 0.7873 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6973, allocations: 4 kB / 0.7873 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.6976, allocations: 186.2 kB / 0.7875 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.6995, allocations: 366.2 kB / 0.7878 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.7016, allocations: 1.585 MB / 0.7894 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.702, allocations: 0.9256 MB / 0.7903 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.7022, allocations: 47.44 kB / 0.7903 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.7022, allocations: 0 / 0.7903 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of Templates: time 0.0136/0.7158, allocations: 9.728 MB / 0.7998 GB, free: 2.453 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