Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009268/0.0009269, allocations: 100.1 kB / 16.33 MB, free: 5.945 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.0009389/0.000939, allocations: 190 kB / 17.22 MB, free: 5.879 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.594/1.594, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.355/0.355, allocations: 43.54 MB / 315.2 MB, free: 8.871 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.0005739/0.0005742, allocations: 14.97 kB / 384.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1291, allocations: 58.86 MB / 443.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004782/0.1339, allocations: 4.043 MB / 447.5 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.1376, allocations: 3.725 MB / 451.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.1377, allocations: 0 / 451.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.138, allocations: 39.73 kB / 451.2 MB, free: 5.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.1393, allocations: 0.5789 MB / 451.8 MB, free: 4.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1396, allocations: 119.8 kB / 451.9 MB, free: 4.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.1401, allocations: 394.1 kB / 452.3 MB, free: 4.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.895e-05/0.1402, allocations: 21.64 kB / 452.3 MB, free: 4.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1404, allocations: 135.5 kB / 452.4 MB, free: 3.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1406, allocations: 147.5 kB / 452.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.1406, allocations: 4 kB / 452.6 MB, free: 3.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006525/0.1413, allocations: 327.6 kB / 452.9 MB, free: 3.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.1414, allocations: 43.81 kB / 453 MB, free: 3.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.1414, allocations: 57.64 kB / 453 MB, free: 3.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.1418, allocations: 295.6 kB / 453.3 MB, free: 3.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1418, allocations: 0 / 453.3 MB, free: 3.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1418, allocations: 0 / 453.3 MB, free: 3.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1419, allocations: 0 / 453.3 MB, free: 3.125 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009867/0.1428, allocations: 0.55 MB / 453.9 MB, free: 2.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1429, allocations: 8.031 kB / 453.9 MB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.143, allocations: 31.72 kB / 453.9 MB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1433, allocations: 222.8 kB / 454.1 MB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.1434, allocations: 123.4 kB / 454.2 MB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1434, allocations: 20 kB / 454.3 MB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.1439, allocations: 331.6 kB / 454.6 MB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1439, allocations: 0 / 454.6 MB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.144, allocations: 15.98 kB / 454.6 MB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.144, allocations: 8 kB / 454.6 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000752/0.1448, allocations: 0.7352 MB / 455.3 MB, free: 0.957 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.2604/0.4052, allocations: 1.297 MB / 456.6 MB, free: 46.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.4055, allocations: 164.2 kB / 456.8 MB, free: 46.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.4057, allocations: 91.59 kB / 456.9 MB, free: 46.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00197/0.4077, allocations: 2.808 MB / 459.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.4077, allocations: 38.5 kB / 459.7 MB, free: 43.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.545e-06/0.4077, allocations: 0.9375 kB / 459.7 MB, free: 43.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002584/0.408, allocations: 113.4 kB / 459.8 MB, free: 43.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.408, allocations: 54.47 kB / 459.9 MB, free: 43.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4082, allocations: 216.6 kB / 460.1 MB, free: 42.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4082, allocations: 28.27 kB / 460.1 MB, free: 42.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.4083, allocations: 224.7 kB / 460.3 MB, free: 42.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.4083, allocations: 41.95 kB / 460.4 MB, free: 42.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.4083, allocations: 5 kB / 460.4 MB, free: 42.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.4084, allocations: 331.5 kB / 460.7 MB, free: 42.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.4085, allocations: 48.05 kB / 460.8 MB, free: 42.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.4087, allocations: 338.6 kB / 461.1 MB, free: 42.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.4088, allocations: 101 kB / 461.2 MB, free: 42.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4088, allocations: 4.594 kB / 461.2 MB, free: 42.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004584/0.4093, allocations: 388.2 kB / 461.6 MB, free: 41.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.4093, allocations: 8.875 kB / 461.6 MB, free: 41.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.4094, allocations: 9.406 kB / 461.6 MB, free: 41.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.4094, allocations: 17.66 kB / 461.6 MB, free: 41.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.4096, allocations: 99.78 kB / 461.7 MB, free: 41.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.4097, allocations: 22.88 kB / 461.7 MB, free: 41.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.4099, allocations: 53.19 kB / 461.8 MB, free: 41.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.4099, allocations: 29.95 kB / 461.8 MB, free: 41.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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 9.423e-05/0.41, allocations: 151.4 kB / 462 MB, free: 41.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.4101, allocations: 27.77 kB / 462 MB, free: 41.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.4103, allocations: 147.5 kB / 462.1 MB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.4103, allocations: 2.75 kB / 462.1 MB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4104, allocations: 4 kB / 462.1 MB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4104, allocations: 0 / 462.1 MB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.4107, allocations: 410.4 kB / 462.5 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4107, allocations: 3 kB / 462.5 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.4108, allocations: 12.52 kB / 462.6 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4108, allocations: 2.875 kB / 462.6 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4108, allocations: 4.141 kB / 462.6 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4108, allocations: 4 kB / 462.6 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4108, allocations: 2.75 kB / 462.6 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.411, allocations: 207.6 kB / 462.8 MB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.411, allocations: 111.7 kB / 462.9 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.4111, allocations: 7.031 kB / 462.9 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4112, allocations: 10.64 kB / 462.9 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.4112, allocations: 3 kB / 462.9 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.4113, allocations: 9.406 kB / 462.9 MB, free: 41.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.4114, allocations: 152.6 kB / 463.1 MB, free: 40.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4114, allocations: 0 / 463.1 MB, free: 40.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004661/0.4119, allocations: 92.95 kB / 463.1 MB, free: 40.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001983/0.4121, allocations: 146.9 kB / 463.3 MB, free: 40.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.4123, allocations: 171.7 kB / 463.5 MB, free: 40.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.4123, allocations: 384 / 463.5 MB, free: 40.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.4124, allocations: 29.86 kB / 463.5 MB, free: 40.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.4128, allocations: 40.05 kB / 463.5 MB, free: 40.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008187/0.4136, allocations: 0.6594 MB / 464.2 MB, free: 40.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.4138, allocations: 0.7266 MB / 464.9 MB, free: 39.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.4138, allocations: 34.41 kB / 464.9 MB, free: 39.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4138, allocations: 96 / 464.9 MB, free: 39.81 MB / 382.1 MB Notification: Performance of Templates: time 0.004772/0.4186, allocations: 3.208 MB / 468.2 MB, free: 39.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWaterCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWaterCalcHelperMain.o] Error 1