Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008864/0.0008866, allocations: 89.64 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00097/0.0009703, allocations: 196.3 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 45.92 MB / 344.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 8 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 63.46 MB / 482.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02153/0.1946, allocations: 19.17 MB / 0.4896 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007556/0.2022, allocations: 4.133 MB / 0.4936 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.2035, allocations: 23.81 kB / 0.4936 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.2046, allocations: 258.4 kB / 0.4939 GB, free: 13.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.002612/0.2073, allocations: 0.7965 MB / 0.4946 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.2099, allocations: 0.6805 MB / 0.4953 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.2129, allocations: 2.215 MB / 0.4975 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007155/0.2136, allocations: 385.2 kB / 0.4978 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.2157, allocations: 0.7742 MB / 0.4986 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.2167, allocations: 0.6306 MB / 0.4992 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.485e-05/0.2168, allocations: 32 kB / 0.4992 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008275/0.2176, allocations: 203.8 kB / 0.4994 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.2179, allocations: 235.2 kB / 0.4997 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.2182, allocations: 161.4 kB / 0.4998 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009386/0.2191, allocations: 0.7679 MB / 0.5006 GB, free: 6.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2191, allocations: 0 / 0.5006 GB, free: 6.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.2191, allocations: 3.938 kB / 0.5006 GB, free: 6.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.2191, allocations: 0 / 0.5006 GB, free: 6.844 MB / 382.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.002087/0.2212, allocations: 0.9231 MB / 0.5015 GB, free: 5.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.2213, allocations: 11.97 kB / 0.5015 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003556/0.2217, allocations: 87.14 kB / 0.5016 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008645/0.2225, allocations: 496.6 kB / 0.502 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.2227, allocations: 100.4 kB / 0.5021 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.393e-05/0.2228, allocations: 51.94 kB / 0.5022 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.2242, allocations: 0.8143 MB / 0.503 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.2242, allocations: 0 / 0.503 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/0.2243, allocations: 31.94 kB / 0.503 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-05/0.2244, allocations: 44.92 kB / 0.503 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.2255, allocations: 0.6361 MB / 0.5037 GB, free: 3.484 MB / 382.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.3948/0.6202, allocations: 4.21 MB / 0.5078 GB, free: 41.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.6219, allocations: 415.9 kB / 0.5082 GB, free: 41.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/0.6224, allocations: 204.8 kB / 0.5084 GB, free: 41.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/0.623, allocations: 0.5004 MB / 0.5089 GB, free: 40.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.6231, allocations: 40.36 kB / 0.5089 GB, free: 40.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 4.288e-06/0.6231, allocations: 1.312 kB / 0.5089 GB, free: 40.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.005679/0.6288, allocations: 1.528 MB / 0.5104 GB, free: 40.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.6289, allocations: 133.8 kB / 0.5105 GB, free: 40.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.6303, allocations: 0.5621 MB / 0.5111 GB, free: 40.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.6304, allocations: 35.3 kB / 0.5111 GB, free: 40.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.6308, allocations: 356.3 kB / 0.5114 GB, free: 39.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.631, allocations: 162.1 kB / 0.5116 GB, free: 39.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.6311, allocations: 14.75 kB / 0.5116 GB, free: 39.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.6313, allocations: 383 kB / 0.512 GB, free: 39.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/0.632, allocations: 223 kB / 0.5122 GB, free: 39.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009791/0.633, allocations: 0.5094 MB / 0.5127 GB, free: 38.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008771/0.6338, allocations: 317.4 kB / 0.513 GB, free: 38.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/0.6339, allocations: 3.125 kB / 0.513 GB, free: 38.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003211/0.6371, allocations: 0.9677 MB / 0.5139 GB, free: 38.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.6372, allocations: 13.88 kB / 0.5139 GB, free: 38.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/0.6372, allocations: 12.88 kB / 0.514 GB, free: 38.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001665/0.6389, allocations: 272.3 kB / 0.5142 GB, free: 38.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.6396, allocations: 125.2 kB / 0.5143 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.6409, allocations: 0.8567 MB / 0.5152 GB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000993/0.6419, allocations: 50.64 kB / 0.5152 GB, free: 37.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.6421, allocations: 38.19 kB / 0.5153 GB, free: 37.64 MB / 382.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.000639/0.6427, allocations: 246.3 kB / 0.5155 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/0.643, allocations: 68.86 kB / 0.5156 GB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.6455, allocations: 0.7121 MB / 0.5163 GB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.6455, allocations: 4.719 kB / 0.5163 GB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.6456, allocations: 4.25 kB / 0.5163 GB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.6456, allocations: 3.375 kB / 0.5163 GB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004334/0.6499, allocations: 1.41 MB / 0.5176 GB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.6499, allocations: 4.281 kB / 0.5176 GB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.6513, allocations: 195.8 kB / 0.5178 GB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.6517, allocations: 59.95 kB / 0.5179 GB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.531e-05/0.6518, allocations: 14.75 kB / 0.5179 GB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/0.6544, allocations: 2.795 MB / 0.5206 GB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.6544, allocations: 2.312 kB / 0.5206 GB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.6569, allocations: 0.9909 MB / 0.5216 GB, free: 33.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005672/0.6575, allocations: 198.2 kB / 0.5218 GB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.6577, allocations: 10.34 kB / 0.5218 GB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/0.6584, allocations: 31.77 kB / 0.5218 GB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.6586, allocations: 44.41 kB / 0.5219 GB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.6587, allocations: 24.03 kB / 0.5219 GB, free: 32.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009453/0.6596, allocations: 396.9 kB / 0.5223 GB, free: 32.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6597, allocations: 0 / 0.5223 GB, free: 32.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001651/0.6613, allocations: 201.1 kB / 0.5225 GB, free: 32.62 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 (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.000791/0.6621, allocations: 231.9 kB / 0.5227 GB, free: 32.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.6643, allocations: 0.6073 MB / 0.5233 GB, free: 32.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.6643, allocations: 1.469 kB / 0.5233 GB, free: 32.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.6658, allocations: 478.7 kB / 0.5237 GB, free: 32.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.6678, allocations: 324 kB / 0.524 GB, free: 32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.6711, allocations: 1.694 MB / 0.5257 GB, free: 31.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/0.6718, allocations: 0.9341 MB / 0.5266 GB, free: 30.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.6721, allocations: 65.27 kB / 0.5267 GB, free: 30.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6721, allocations: 0 / 0.5267 GB, free: 30.28 MB / 382.1 MB Notification: Performance of Templates: time 0.02861/0.7007, allocations: 15.19 MB / 0.5415 GB, free: 20.53 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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 OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.o] Error 1