Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009275, allocations: 82.83 kB / 17.58 MB, free: 5.758 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.0009039/0.000904, allocations: 183.9 kB / 18.48 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 224.6 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005146, allocations: 8 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1168, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01837/0.1352, allocations: 11.96 MB / 340.9 MB, free: 8.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.1501, allocations: 10.71 MB / 351.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.1504, allocations: 0 / 351.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.1508, allocations: 59.69 kB / 351.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.1512, allocations: 79.44 kB / 351.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01575/0.167, allocations: 3.862 MB / 355.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.1675, allocations: 246.9 kB / 355.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.903e-05/0.1676, allocations: 5.453 kB / 355.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005554/0.1682, allocations: 175.2 kB / 356.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1684, allocations: 75.75 kB / 356.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.1684, allocations: 4 kB / 356.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01565/0.1841, allocations: 6.649 MB / 362.8 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.1843, allocations: 23.91 kB / 362.8 MB, free: 2.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1844, allocations: 49.64 kB / 362.9 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006579/0.191, allocations: 2.573 MB / 365.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.191, allocations: 4 kB / 365.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.191, allocations: 0 / 365.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1911, allocations: 0 / 365.4 MB, free: 15.51 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.005366/0.1964, allocations: 1.111 MB / 366.5 MB, free: 14.35 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.1965, allocations: 8.031 kB / 366.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005348/0.197, allocations: 55.72 kB / 366.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.1974, allocations: 214.9 kB / 366.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.1974, allocations: 16.27 kB / 366.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.1975, allocations: 16 kB / 366.8 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.1987, allocations: 390.5 kB / 367.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.1988, allocations: 11.92 kB / 367.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.1988, allocations: 4 kB / 367.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1988, allocations: 4 kB / 367.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.2001, allocations: 368.2 kB / 367.6 MB, free: 13.22 MB / 318.1 MB 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.001583/0.2017, allocations: 1.192 MB / 368.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/0.2025, allocations: 292.3 kB / 369.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.2028, allocations: 114.9 kB / 369.2 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3327/0.5355, allocations: 47.88 MB / 417.1 MB, free: 22.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.5356, allocations: 38 kB / 417.1 MB, free: 22.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.645e-06/0.5357, allocations: 2.188 kB / 417.1 MB, free: 22.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.005923/0.5416, allocations: 1.61 MB / 418.7 MB, free: 21.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.5417, allocations: 118.6 kB / 418.8 MB, free: 21.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.5418, allocations: 115.8 kB / 419 MB, free: 20.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.5418, allocations: 37.7 kB / 419 MB, free: 20.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.5419, allocations: 105.6 kB / 419.1 MB, free: 20.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.614e-05/0.542, allocations: 121.3 kB / 419.2 MB, free: 20.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.542, allocations: 8 kB / 419.2 MB, free: 20.63 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.5421, allocations: 320.7 kB / 419.5 MB, free: 20.31 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.5424, allocations: 143.7 kB / 419.7 MB, free: 20.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.5428, allocations: 205.6 kB / 419.9 MB, free: 19.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.5431, allocations: 152.4 kB / 420 MB, free: 19.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5431, allocations: 6.516 kB / 420 MB, free: 19.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008703/0.544, allocations: 437.8 kB / 420.5 MB, free: 19.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.544, allocations: 4 kB / 420.5 MB, free: 19.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.5441, allocations: 4.219 kB / 420.5 MB, free: 19.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.5443, allocations: 40.83 kB / 420.5 MB, free: 19.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.5447, allocations: 92.75 kB / 420.6 MB, free: 19.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003108/0.545, allocations: 0.5485 MB / 421.1 MB, free: 18.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.5453, allocations: 23.97 kB / 421.2 MB, free: 18.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.5454, allocations: 16 kB / 421.2 MB, free: 18.61 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.5455, allocations: 137.7 kB / 421.3 MB, free: 18.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.5456, allocations: 15.81 kB / 421.3 MB, free: 18.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.5474, allocations: 1.468 MB / 422.8 MB, free: 16.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/0.5475, allocations: 23.97 kB / 422.8 MB, free: 16.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.5475, allocations: 0 / 422.8 MB, free: 16.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.5475, allocations: 3.984 kB / 422.8 MB, free: 16.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.55, allocations: 1.976 MB / 424.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.55, allocations: 3.812 kB / 424.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.5504, allocations: 94.12 kB / 424.9 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.5507, allocations: 80.16 kB / 425 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.5508, allocations: 19.98 kB / 425 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002506/0.551, allocations: 0.5837 MB / 425.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.5511, allocations: 0 / 425.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.5528, allocations: 1.706 MB / 427.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.5529, allocations: 128.4 kB / 427.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.553, allocations: 12.03 kB / 427.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.5533, allocations: 27.98 kB / 427.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.5534, allocations: 31.89 kB / 427.5 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.5534, allocations: 19.98 kB / 427.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.391e-05/0.5535, allocations: 83.28 kB / 427.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5535, allocations: 4 kB / 427.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003269/0.5568, allocations: 0.9526 MB / 428.5 MB, free: 11.18 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005438/0.5622, allocations: 1.137 MB / 429.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.5635, allocations: 0.6014 MB / 430.3 MB, free: 9.586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5635, allocations: 4.062 kB / 430.3 MB, free: 9.582 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.5643, allocations: 0.5084 MB / 430.8 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/0.5651, allocations: 83.42 kB / 430.9 MB, free: 8.996 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.5674, allocations: 1.594 MB / 432.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.5677, allocations: 0.8178 MB / 433.3 MB, free: 6.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.5679, allocations: 39.41 kB / 433.3 MB, free: 6.48 MB / 318.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5679, allocations: 3.938 kB / 433.3 MB, free: 6.477 MB / 318.1 MB Notification: Performance of Templates: time 0.03824/0.6061, allocations: 21.76 MB / 455.1 MB, free: 0.6875 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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 OMCppModelica_3.2.3_Modelica.Media.Examples.WaterIF97CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.WaterIF97CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.WaterIF97CalcHelperMain.o] Error 1