Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 104.4 kB / 16.52 MB, free: 6.262 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.001283/0.001283, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.903/1.903, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2606/0.2606, allocations: 43.52 MB / 314.1 MB, free: 0.75 MB / 254.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.001515/0.001515, allocations: 63.38 kB / 382.7 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1592, allocations: 57.79 MB / 440.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02866/0.1879, allocations: 20.99 MB / 461.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009088/0.197, allocations: 4.458 MB / 465.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.1985, allocations: 27.81 kB / 466 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.2, allocations: 266.5 kB / 466.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.2032, allocations: 0.8087 MB / 467 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.2067, allocations: 0.8023 MB / 467.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004358/0.2111, allocations: 2.659 MB / 470.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.2122, allocations: 393 kB / 470.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.2154, allocations: 0.817 MB / 471.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.2175, allocations: 0.6577 MB / 472.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004063/0.2179, allocations: 32 kB / 472.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.2196, allocations: 275.6 kB / 472.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.2202, allocations: 231.3 kB / 472.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.2212, allocations: 366.2 kB / 473.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.2229, allocations: 0.8029 MB / 474 MB, free: 5.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2229, allocations: 0 / 474 MB, free: 5.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.2229, allocations: 0 / 474 MB, free: 5.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.971e-05/0.223, allocations: 7.938 kB / 474 MB, free: 5.824 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003762/0.2267, allocations: 1.052 MB / 475.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.2268, allocations: 12.03 kB / 475.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005362/0.2273, allocations: 84.09 kB / 475.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.2285, allocations: 0.5015 MB / 475.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.2286, allocations: 104.9 kB / 475.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.2288, allocations: 48.38 kB / 475.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.2305, allocations: 0.8213 MB / 476.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.2305, allocations: 4 kB / 476.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/0.2306, allocations: 27.98 kB / 476.7 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.279e-05/0.2307, allocations: 36.97 kB / 476.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.2323, allocations: 0.6478 MB / 477.4 MB, free: 2.316 MB / 350.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.006333/0.2386, allocations: 4.217 MB / 481.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.2396, allocations: 415.9 kB / 482 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/0.24, allocations: 209.4 kB / 482.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/0.2406, allocations: 0.4989 MB / 482.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.2407, allocations: 42.83 kB / 482.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 3.135e-06/0.2407, allocations: 0 / 482.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.004011/0.2447, allocations: 1.522 MB / 484.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.2449, allocations: 144.4 kB / 484.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.2458, allocations: 0.5693 MB / 485 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/0.2459, allocations: 33.7 kB / 485 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.2463, allocations: 355 kB / 485.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.2465, allocations: 169.6 kB / 485.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.2468, allocations: 138.5 kB / 485.7 MB, free: 9.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.2471, allocations: 378.7 kB / 486 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.2475, allocations: 221.9 kB / 486.2 MB, free: 8.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008029/0.2483, allocations: 0.524 MB / 486.8 MB, free: 8.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.2497, allocations: 0.7796 MB / 487.5 MB, free: 7.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.2497, allocations: 0 / 487.5 MB, free: 7.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00215/0.2519, allocations: 0.9408 MB / 488.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.2519, allocations: 8 kB / 488.5 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.252, allocations: 12 kB / 488.5 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.2532, allocations: 261.4 kB / 488.8 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.2537, allocations: 127.8 kB / 488.9 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.255, allocations: 0.8606 MB / 489.7 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007131/0.2557, allocations: 51.94 kB / 489.8 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.2558, allocations: 32 kB / 489.8 MB, free: 5.016 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004262/0.2562, allocations: 254.1 kB / 490.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.2564, allocations: 63.25 kB / 490.1 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.2579, allocations: 0.7142 MB / 490.9 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.2579, allocations: 11.94 kB / 490.9 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.2579, allocations: 0 / 490.9 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.258, allocations: 7.984 kB / 490.9 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.2608, allocations: 1.399 MB / 492.3 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.2609, allocations: 7.938 kB / 492.3 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.2619, allocations: 183.8 kB / 492.5 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/0.2622, allocations: 72.84 kB / 492.5 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.2622, allocations: 12 kB / 492.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/0.2653, allocations: 2.781 MB / 495.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.2653, allocations: 12.03 kB / 495.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.2672, allocations: 0.9917 MB / 496.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/0.2678, allocations: 208.1 kB / 496.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.268, allocations: 11.98 kB / 496.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005595/0.2686, allocations: 28.05 kB / 496.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.2687, allocations: 35.95 kB / 496.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.675e-05/0.2688, allocations: 19.98 kB / 496.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008617/0.2696, allocations: 419.1 kB / 497 MB, free: 13.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2696, allocations: 0 / 497 MB, free: 13.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001145/0.2708, allocations: 215.9 kB / 497.2 MB, free: 13.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007357/0.2715, allocations: 240 kB / 497.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.2731, allocations: 0.6044 MB / 498.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.2731, allocations: 0 / 498.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.2744, allocations: 471.1 kB / 498.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.2763, allocations: 353.6 kB / 498.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.2797, allocations: 1.674 MB / 0.4888 GB, free: 9.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.2805, allocations: 0.927 MB / 0.4897 GB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.2807, allocations: 71.42 kB / 0.4898 GB, free: 8.773 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.2807, allocations: 0 / 0.4898 GB, free: 8.773 MB / 382.1 MB Notification: Performance of Templates: time 0.02774/0.3085, allocations: 15.53 MB / 0.505 GB, free: 9.277 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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 OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.o] Error 1