Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007195/0.0007193, allocations: 92.31 kB / 16.02 MB, free: 80 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.0009176/0.0009177, allocations: 179.2 kB / 16.92 MB, free: 6.652 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.298/1.298, allocations: 223.2 MB / 240.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7256/0.7256, allocations: 132.3 MB / 424.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 11.98 kB / 0.5046 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4131, allocations: 81.58 MB / 0.5843 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001389/0.4145, allocations: 0.9899 MB / 0.5852 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003844/0.4184, allocations: 3.19 MB / 0.5884 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.4184, allocations: 0 / 0.5884 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.4184, allocations: 5.406 kB / 0.5884 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.4185, allocations: 6.312 kB / 0.5884 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.4189, allocations: 98.48 kB / 0.5885 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.035e-05/0.419, allocations: 35.31 kB / 0.5885 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.419, allocations: 5.484 kB / 0.5885 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.4191, allocations: 12.17 kB / 0.5885 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.4192, allocations: 22.56 kB / 0.5885 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.4192, allocations: 1.781 kB / 0.5885 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.4194, allocations: 80.88 kB / 0.5886 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.4194, allocations: 7.922 kB / 0.5886 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.4195, allocations: 42.52 kB / 0.5887 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.4197, allocations: 51.03 kB / 0.5887 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4197, allocations: 1.25 kB / 0.5887 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4197, allocations: 0 / 0.5887 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.4197, allocations: 0 / 0.5887 GB, free: 0.7695 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003533/0.42, allocations: 332 kB / 0.589 GB, free: 424 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4201, allocations: 12.88 kB / 0.589 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.981e-05/0.4202, allocations: 9.891 kB / 0.5891 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.247e-05/0.4203, allocations: 162.6 kB / 0.5892 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4203, allocations: 1.875 kB / 0.5892 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.4203, allocations: 4.594 kB / 0.5892 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.4204, allocations: 65.55 kB / 0.5893 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4205, allocations: 0 / 0.5893 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4205, allocations: 1.703 kB / 0.5893 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4205, allocations: 4.75 kB / 0.5893 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.753e-05/0.4205, allocations: 19.39 kB / 0.5893 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.4207, allocations: 170.9 kB / 0.5895 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.145e-05/0.4208, allocations: 46.47 kB / 0.5895 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.4209, allocations: 17.36 kB / 0.5895 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007167/0.4216, allocations: 0.6041 MB / 0.5901 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4216, allocations: 36.7 kB / 0.5901 GB, free: 15.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.4216, allocations: 0 / 0.5901 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.00058/0.4222, allocations: 299.7 kB / 0.5904 GB, free: 14.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.4223, allocations: 53.84 kB / 0.5905 GB, free: 14.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.105e-05/0.4224, allocations: 100.3 kB / 0.5906 GB, free: 14.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.4224, allocations: 26.23 kB / 0.5906 GB, free: 14.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.4224, allocations: 93.73 kB / 0.5907 GB, free: 14.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.4225, allocations: 25.62 kB / 0.5907 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.4225, allocations: 18.36 kB / 0.5907 GB, free: 14.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.4226, allocations: 318.5 kB / 0.591 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.4226, allocations: 13.56 kB / 0.5911 GB, free: 14.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.4227, allocations: 53.14 kB / 0.5911 GB, free: 14.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.135e-05/0.4228, allocations: 80.14 kB / 0.5912 GB, free: 14.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4228, allocations: 0.875 kB / 0.5912 GB, free: 14.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000147/0.423, allocations: 98.22 kB / 0.5913 GB, free: 14.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.423, allocations: 10.44 kB / 0.5913 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.423, allocations: 1.125 kB / 0.5913 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.423, allocations: 2.094 kB / 0.5913 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.4231, allocations: 27.25 kB / 0.5913 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.4231, allocations: 2.062 kB / 0.5913 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.4232, allocations: 10.47 kB / 0.5913 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.4232, allocations: 3.875 kB / 0.5913 GB, free: 14.08 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.322e-05/0.4233, allocations: 118.1 kB / 0.5914 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.4233, allocations: 4.172 kB / 0.5914 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.4233, allocations: 11.97 kB / 0.5915 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4233, allocations: 1.281 kB / 0.5915 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4233, allocations: 0.75 kB / 0.5915 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4233, allocations: 5.656 kB / 0.5915 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.4236, allocations: 172.7 kB / 0.5916 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4236, allocations: 0.5312 kB / 0.5916 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.4237, allocations: 19 kB / 0.5917 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4237, allocations: 1.375 kB / 0.5917 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4237, allocations: 4.516 kB / 0.5917 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4237, allocations: 1.375 kB / 0.5917 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4237, allocations: 4.703 kB / 0.5917 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.4239, allocations: 171 kB / 0.5918 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.4239, allocations: 82.34 kB / 0.5919 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.424, allocations: 1.906 kB / 0.5919 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.4241, allocations: 2.016 kB / 0.5919 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.4241, allocations: 4.328 kB / 0.5919 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.4241, allocations: 11.62 kB / 0.5919 GB, free: 13.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.206e-05/0.4241, allocations: 81.84 kB / 0.592 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4241, allocations: 0.5625 kB / 0.592 GB, free: 13.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.4244, allocations: 14.09 kB / 0.592 GB, free: 13.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001111/0.4245, allocations: 104.6 kB / 0.5921 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.4246, allocations: 42.17 kB / 0.5922 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4246, allocations: 1.375 kB / 0.5922 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.4246, allocations: 17.02 kB / 0.5922 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.425, allocations: 8.25 kB / 0.5922 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.4256, allocations: 430.6 kB / 0.5926 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.4258, allocations: 0.6828 MB / 0.5933 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.4258, allocations: 12.41 kB / 0.5933 GB, free: 12.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4258, allocations: 3.938 kB / 0.5933 GB, free: 12.25 MB / 446.1 MB Notification: Performance of Templates: time 0.002286/0.4281, allocations: 0.7706 MB / 0.594 GB, free: 12.19 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheckCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1