Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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 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.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 107 kB / 16.52 MB, free: 6.711 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.001138/0.001138, allocations: 195.2 kB / 17.44 MB, free: 6.078 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.838/1.838, allocations: 205.1 MB / 223.3 MB, free: 12.54 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.2834/0.2834, allocations: 43.53 MB / 314.2 MB, free: 0.7578 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.001839/0.001839, allocations: 69.8 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1637, allocations: 57.8 MB / 440.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02363/0.1874, allocations: 14.63 MB / 455.1 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04111/0.2286, allocations: 28.31 MB / 483.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.229, allocations: 3.938 kB / 483.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.2295, allocations: 83.56 kB / 483.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02981/0.2593, allocations: 6.817 MB / 490.3 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2606, allocations: 315.2 kB / 490.6 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005371/0.266, allocations: 2.037 MB / 492.7 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2662, allocations: 20.41 kB / 492.7 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000603/0.2668, allocations: 254.9 kB / 492.9 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007387/0.2742, allocations: 3.27 MB / 496.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.702e-05/0.2743, allocations: 8 kB / 496.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03105/0.3053, allocations: 11.48 MB / 0.4958 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.3056, allocations: 51.75 kB / 0.4958 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.3059, allocations: 131.4 kB / 0.496 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.3188, allocations: 4.565 MB / 0.5004 GB, free: 15.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.3188, allocations: 0 / 0.5004 GB, free: 15.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3188, allocations: 0 / 0.5004 GB, free: 15.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3189, allocations: 0 / 0.5004 GB, free: 15.32 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.007051/0.3259, allocations: 1.615 MB / 0.502 GB, free: 13.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.039e-05/0.326, allocations: 12.03 kB / 0.502 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.3277, allocations: 188.5 kB / 0.5022 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.3281, allocations: 260 kB / 0.5024 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.3282, allocations: 29.02 kB / 0.5025 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.3282, allocations: 36.06 kB / 0.5025 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.3305, allocations: 0.7525 MB / 0.5032 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3305, allocations: 0 / 0.5032 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.3306, allocations: 19.98 kB / 0.5033 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.3306, allocations: 8 kB / 0.5033 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.3327, allocations: 0.8137 MB / 0.5041 GB, free: 11.45 MB / 398.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.003913/0.3366, allocations: 2.718 MB / 0.5067 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.3379, allocations: 350.2 kB / 0.507 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.338, allocations: 72.81 kB / 0.5071 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6681/1.006, allocations: 141.2 MB / 0.645 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/1.008, allocations: 446.7 kB / 0.6454 GB, free: 10.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 4.789e-06/1.008, allocations: 0 / 0.6454 GB, free: 10.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.004469/1.012, allocations: 1.127 MB / 0.6465 GB, free: 9.191 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002514/1.013, allocations: 369.8 kB / 0.6469 GB, free: 8.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/1.013, allocations: 178.8 kB / 0.647 GB, free: 8.566 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/1.013, allocations: 29.7 kB / 0.6471 GB, free: 8.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/1.013, allocations: 195.5 kB / 0.6472 GB, free: 8.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/1.013, allocations: 117.5 kB / 0.6473 GB, free: 8.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/1.014, allocations: 126.1 kB / 0.6475 GB, free: 8.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/1.014, allocations: 330.8 kB / 0.6478 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/1.014, allocations: 81.06 kB / 0.6479 GB, free: 7.688 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/1.014, allocations: 340.1 kB / 0.6482 GB, free: 7.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008084/1.015, allocations: 485.5 kB / 0.6486 GB, free: 6.637 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/1.015, allocations: 7.562 kB / 0.6487 GB, free: 6.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00107/1.016, allocations: 474.3 kB / 0.6491 GB, free: 6.164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/1.016, allocations: 8 kB / 0.6491 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/1.016, allocations: 8 kB / 0.6491 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.961e-05/1.016, allocations: 12 kB / 0.6491 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.018, allocations: 209 kB / 0.6493 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008392/1.019, allocations: 1.188 MB / 0.6505 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/1.019, allocations: 27.84 kB / 0.6505 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-05/1.019, allocations: 43.97 kB / 0.6506 GB, free: 4.629 MB / 446.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: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002584/1.02, allocations: 170.8 kB / 0.6507 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/1.02, allocations: 27.73 kB / 0.6508 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003518/1.023, allocations: 2.842 MB / 0.6535 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.945e-05/1.023, allocations: 19.92 kB / 0.6535 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.023, allocations: 7.984 kB / 0.6536 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.023, allocations: 4 kB / 0.6536 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/1.025, allocations: 0.9718 MB / 0.6545 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.025, allocations: 7.938 kB / 0.6545 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/1.025, allocations: 96.27 kB / 0.6546 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003085/1.026, allocations: 163.5 kB / 0.6548 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/1.026, allocations: 12 kB / 0.6548 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005537/1.026, allocations: 0.6477 MB / 0.6554 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/1.026, allocations: 11.88 kB / 0.6554 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/1.028, allocations: 0.9794 MB / 0.6564 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/1.028, allocations: 128.4 kB / 0.6565 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/1.028, allocations: 90.75 kB / 0.6566 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/1.029, allocations: 23.92 kB / 0.6566 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/1.029, allocations: 31.97 kB / 0.6566 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/1.029, allocations: 15.98 kB / 0.6567 GB, free: 14.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006998/1.029, allocations: 474.9 kB / 0.6571 GB, free: 13.78 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.029, allocations: 0 / 0.6571 GB, free: 13.78 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006483/1.036, allocations: 1.607 MB / 0.6587 GB, free: 12.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01118/1.047, allocations: 1.858 MB / 0.6605 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/1.049, allocations: 0.5363 MB / 0.661 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.049, allocations: 4.688 kB / 0.661 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006406/1.05, allocations: 361.6 kB / 0.6614 GB, free: 9.734 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/1.051, allocations: 124.8 kB / 0.6615 GB, free: 9.621 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.047/2.098, allocations: 348 MB / 1.001 GB, free: 97.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/2.099, allocations: 0.982 MB / 1.002 GB, free: 96.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/2.099, allocations: 63.41 kB / 1.002 GB, free: 96.71 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/2.099, allocations: 3.844 kB / 1.002 GB, free: 96.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.06006/2.159, allocations: 43.38 MB / 1.045 GB, free: 53.38 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.TestAllProperties.IncompleteMedia.WaterIF97_pTCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pTCalcHelperMain.o] Error 1