Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 95.64 kB / 17.63 MB, free: 5.719 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.00145/0.00145, allocations: 183 kB / 18.52 MB, free: 5.168 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.507/1.507, allocations: 223.2 MB / 242.5 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2335/0.2335, allocations: 44.22 MB / 337.9 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003411, allocations: 8 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04969/0.2145, allocations: 41.22 MB / 0.5014 GB, free: 4.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007563/0.2221, allocations: 4.231 MB / 0.5055 GB, free: 144 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.2234, allocations: 23.81 kB / 0.5055 GB, free: 120 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3673/0.5907, allocations: 250.7 kB / 0.5058 GB, free: 12.61 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003644/0.5943, allocations: 0.7898 MB / 0.5065 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.5974, allocations: 0.6882 MB / 0.5072 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00539/0.6029, allocations: 2.202 MB / 0.5094 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.6041, allocations: 379.6 kB / 0.5097 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.144/0.7481, allocations: 73.51 MB / 0.5815 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03003/0.7782, allocations: 13.72 MB / 0.5949 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004972/0.7788, allocations: 28 kB / 0.5949 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03862/0.8174, allocations: 18.72 MB / 0.6132 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008097/0.8183, allocations: 233.5 kB / 0.6134 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.819, allocations: 168.8 kB / 0.6136 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.8209, allocations: 0.7735 MB / 0.6144 GB, free: 11.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.8209, allocations: 0 / 0.6144 GB, free: 11.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.8209, allocations: 0 / 0.6144 GB, free: 11.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.955e-05/0.8209, allocations: 0 / 0.6144 GB, free: 11.88 MB / 462.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.002839/0.8238, allocations: 0.9203 MB / 0.6153 GB, free: 10.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.8239, allocations: 12.56 kB / 0.6153 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006418/0.8245, allocations: 88.02 kB / 0.6154 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.8259, allocations: 0.4886 MB / 0.6158 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.8261, allocations: 100.4 kB / 0.6159 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.8263, allocations: 45.75 kB / 0.616 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.8281, allocations: 0.8194 MB / 0.6168 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.8281, allocations: 7.922 kB / 0.6168 GB, free: 9.629 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.936e-05/0.8282, allocations: 24.77 kB / 0.6168 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-05/0.8283, allocations: 36.61 kB / 0.6168 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.8296, allocations: 0.6417 MB / 0.6175 GB, free: 9.156 MB / 462.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.00685/0.8365, allocations: 4.222 MB / 0.6216 GB, free: 5.242 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009687/0.8375, allocations: 410.7 kB / 0.622 GB, free: 4.969 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.8378, allocations: 202 kB / 0.6222 GB, free: 4.844 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006422/0.8385, allocations: 0.5023 MB / 0.6227 GB, free: 4.238 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.079e-05/0.8386, allocations: 47.28 kB / 0.6227 GB, free: 4.188 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 4.168e-06/0.8386, allocations: 0 / 0.6227 GB, free: 4.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.004453/0.8431, allocations: 1.522 MB / 0.6242 GB, free: 2.871 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.8432, allocations: 136.5 kB / 0.6243 GB, free: 2.707 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.8443, allocations: 0.5653 MB / 0.6249 GB, free: 2.133 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.8444, allocations: 33.7 kB / 0.6249 GB, free: 2.094 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.8448, allocations: 355.3 kB / 0.6252 GB, free: 1.746 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.845, allocations: 164.2 kB / 0.6254 GB, free: 1.586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.845, allocations: 16 kB / 0.6254 GB, free: 1.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002491/0.8453, allocations: 378.7 kB / 0.6258 GB, free: 1.191 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.8457, allocations: 221.9 kB / 0.626 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008582/0.8466, allocations: 0.522 MB / 0.6265 GB, free: 328 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.8471, allocations: 312.5 kB / 0.6268 GB, free: 20 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.8471, allocations: 0 / 0.6268 GB, free: 20 kB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002191/0.8493, allocations: 0.9638 MB / 0.6277 GB, free: 15.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.8494, allocations: 15.95 kB / 0.6278 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.8494, allocations: 11.84 kB / 0.6278 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.8508, allocations: 268.6 kB / 0.628 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.8512, allocations: 123.8 kB / 0.6281 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.8524, allocations: 0.8683 MB / 0.629 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006687/0.8531, allocations: 39.98 kB / 0.629 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/0.8532, allocations: 36 kB / 0.6291 GB, free: 13.67 MB / 478.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 (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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005073/0.8537, allocations: 253.5 kB / 0.6293 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.8539, allocations: 67.25 kB / 0.6294 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.8556, allocations: 0.7091 MB / 0.6301 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.8556, allocations: 4 kB / 0.6301 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.8556, allocations: 0 / 0.6301 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.8556, allocations: 0 / 0.6301 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.8584, allocations: 1.404 MB / 0.6314 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.8586, allocations: 4.5 kB / 0.6314 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009301/0.8595, allocations: 199.9 kB / 0.6316 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003589/0.8599, allocations: 56.78 kB / 0.6317 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/0.8599, allocations: 16 kB / 0.6317 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.863, allocations: 2.794 MB / 0.6344 GB, free: 7.816 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.863, allocations: 0 / 0.6344 GB, free: 7.816 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.8649, allocations: 1.001 MB / 0.6354 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.8654, allocations: 200.2 kB / 0.6356 GB, free: 6.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.8656, allocations: 18.83 kB / 0.6356 GB, free: 6.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.8661, allocations: 27.98 kB / 0.6356 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.8662, allocations: 43.91 kB / 0.6357 GB, free: 6.484 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.8663, allocations: 19.98 kB / 0.6357 GB, free: 6.465 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000645/0.8669, allocations: 390.8 kB / 0.6361 GB, free: 6.086 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8669, allocations: 0 / 0.6361 GB, free: 6.086 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001104/0.868, allocations: 211.9 kB / 0.6363 GB, free: 5.879 MB / 478.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006813/0.8687, allocations: 229.5 kB / 0.6365 GB, free: 5.672 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.8701, allocations: 0.5979 MB / 0.6371 GB, free: 5.074 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.8701, allocations: 0 / 0.6371 GB, free: 5.074 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.8713, allocations: 476.9 kB / 0.6375 GB, free: 4.598 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.873, allocations: 334.2 kB / 0.6378 GB, free: 4.281 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.8759, allocations: 1.698 MB / 0.6395 GB, free: 2.543 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/0.8766, allocations: 0.9386 MB / 0.6404 GB, free: 1.578 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.8769, allocations: 71.36 kB / 0.6405 GB, free: 1.508 MB / 478.1 MB Notification: Performance of SimCode: time 1.523e-06/0.8769, allocations: 0 / 0.6405 GB, free: 1.508 MB / 478.1 MB Notification: Performance of Templates: time 0.02694/0.9038, allocations: 15.16 MB / 0.6553 GB, free: 2.457 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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/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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o] Error 1