Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008687/0.0008687, 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.0009572/0.0009569, allocations: 171.9 kB / 16.58 MB, free: 6.398 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.535/1.535, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.3 MB / 427 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003522, allocations: 9.438 kB / 0.5076 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2167, allocations: 82.32 MB / 0.588 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001426/0.2182, allocations: 0.9744 MB / 0.5889 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.2218, allocations: 3.05 MB / 0.5919 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.2219, allocations: 0 / 0.5919 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.2219, allocations: 3.938 kB / 0.5919 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.001e-05/0.222, allocations: 7.922 kB / 0.5919 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.2224, allocations: 79.62 kB / 0.592 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.2225, allocations: 35.91 kB / 0.592 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.2226, allocations: 15.98 kB / 0.592 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.2226, allocations: 11.94 kB / 0.5921 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.2227, allocations: 23.91 kB / 0.5921 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2227, allocations: 0 / 0.5921 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.2229, allocations: 55.78 kB / 0.5921 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.223, allocations: 3.984 kB / 0.5921 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.223, allocations: 33.7 kB / 0.5922 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.2231, allocations: 36.23 kB / 0.5922 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2232, allocations: 0 / 0.5922 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2232, allocations: 4 kB / 0.5922 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2232, allocations: 0 / 0.5922 GB, free: 14.77 MB / 0.4981 GB 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.0004266/0.2236, allocations: 343.2 kB / 0.5925 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2237, allocations: 8.031 kB / 0.5925 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.2238, allocations: 7.953 kB / 0.5925 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2239, allocations: 167 kB / 0.5927 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2239, allocations: 8 kB / 0.5927 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.224, allocations: 4 kB / 0.5927 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.2241, allocations: 57.67 kB / 0.5928 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2242, allocations: 0 / 0.5928 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2242, allocations: 0 / 0.5928 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2242, allocations: 0 / 0.5928 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.2243, allocations: 19.97 kB / 0.5928 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.2245, allocations: 169.5 kB / 0.593 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.2246, allocations: 50.5 kB / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.2247, allocations: 24.78 kB / 0.593 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007445/0.2254, allocations: 0.591 MB / 0.5936 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2254, allocations: 34.56 kB / 0.5936 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2255, allocations: 0 / 0.5936 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006075/0.2261, allocations: 310.3 kB / 0.5939 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.2261, allocations: 59.39 kB / 0.594 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.2262, allocations: 101.8 kB / 0.5941 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.2262, allocations: 25.7 kB / 0.5941 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.2263, allocations: 80.14 kB / 0.5942 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.2263, allocations: 35.61 kB / 0.5942 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.2263, allocations: 4 kB / 0.5942 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2264, allocations: 310.8 kB / 0.5945 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.2265, allocations: 15.98 kB / 0.5945 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.193e-05/0.2265, allocations: 53.14 kB / 0.5946 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.2266, allocations: 20 kB / 0.5946 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2266, allocations: 0 / 0.5946 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001363/0.2267, allocations: 101.5 kB / 0.5947 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2267, allocations: 14.77 kB / 0.5947 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2268, allocations: 0 / 0.5947 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2268, allocations: 4 kB / 0.5947 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.2269, allocations: 23.92 kB / 0.5947 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2269, allocations: 3.938 kB / 0.5947 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.2269, allocations: 4 kB / 0.5948 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.2269, allocations: 4 kB / 0.5948 GB, free: 11.77 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/0.227, allocations: 121.9 kB / 0.5949 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.227, allocations: 3.938 kB / 0.5949 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.2271, allocations: 11.92 kB / 0.5949 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2271, allocations: 4 kB / 0.5949 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2271, allocations: 0 / 0.5949 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2271, allocations: 3.984 kB / 0.5949 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.2273, allocations: 169.7 kB / 0.5951 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2274, allocations: 3.984 kB / 0.5951 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.2274, allocations: 12 kB / 0.5951 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2275, allocations: 0 / 0.5951 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.2275, allocations: 8 kB / 0.5951 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2275, allocations: 3.953 kB / 0.5951 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2275, allocations: 0 / 0.5951 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.2277, allocations: 171.4 kB / 0.5952 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.2277, allocations: 85.14 kB / 0.5953 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.2277, allocations: 4 kB / 0.5953 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.2278, allocations: 4 kB / 0.5953 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.2279, allocations: 7.938 kB / 0.5953 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2279, allocations: 8.375 kB / 0.5954 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.28e-05/0.2279, allocations: 87.25 kB / 0.5954 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2279, allocations: 0 / 0.5954 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002299/0.2282, allocations: 12 kB / 0.5954 GB, free: 10.97 MB / 0.4981 GB 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 (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.0001284/0.2283, allocations: 99.25 kB / 0.5955 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2284, allocations: 35.92 kB / 0.5956 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2284, allocations: 8.25 kB / 0.5956 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.2285, allocations: 19.92 kB / 0.5956 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.2287, allocations: 8 kB / 0.5956 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.2294, allocations: 412.5 kB / 0.596 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.2296, allocations: 0.6809 MB / 0.5967 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.2297, allocations: 11.44 kB / 0.5967 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2297, allocations: 0 / 0.5967 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of Templates: time 0.002241/0.2319, allocations: 0.7694 MB / 0.5974 GB, free: 8.867 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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_dev_IDEAS.Media.Examples.WaterDerivativeCheckCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1