Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.002713/0.002713, allocations: 194 kB / 18.72 MB, free: 4.762 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.956/1.956, allocations: 205.1 MB / 224.6 MB, free: 12.46 MB / 190.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.001322/0.001322, allocations: 47.94 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1581, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.0456/0.2038, allocations: 33.26 MB / 360.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02269/0.2266, allocations: 16.67 MB / 377.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007316/0.2275, allocations: 7.938 kB / 377.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.2289, allocations: 230.8 kB / 377.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.2301, allocations: 354.2 kB / 377.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3344/0.5645, allocations: 4.667 MB / 382.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.5675, allocations: 1.452 MB / 383.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.5677, allocations: 83.66 kB / 384 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006674/0.5744, allocations: 2.13 MB / 386.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000788/0.5752, allocations: 316.3 kB / 386.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.603e-05/0.5753, allocations: 20.38 kB / 386.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01733/0.5927, allocations: 6.001 MB / 392.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.593, allocations: 96.14 kB / 392.5 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007118/0.5937, allocations: 214.6 kB / 392.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00812/0.6019, allocations: 2.611 MB / 395.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6019, allocations: 4 kB / 395.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.569e-06/0.6019, allocations: 4.281 kB / 395.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.6019, allocations: 0 / 395.4 MB, free: 11.54 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004561/0.6065, allocations: 0.9911 MB / 396.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.6066, allocations: 7.906 kB / 396.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.608, allocations: 150.1 kB / 396.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.6085, allocations: 317.2 kB / 396.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.6085, allocations: 24.28 kB / 396.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.6086, allocations: 32.03 kB / 396.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.6099, allocations: 0.513 MB / 397.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.6099, allocations: 6.469 kB / 397.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.61, allocations: 20.3 kB / 397.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.61, allocations: 8 kB / 397.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006361/0.6106, allocations: 329.7 kB / 397.7 MB, free: 10.47 MB / 318.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.003441/0.6141, allocations: 2.536 MB / 400.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/0.6148, allocations: 281 kB / 400.5 MB, free: 8.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.615, allocations: 108.5 kB / 400.7 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06674/0.6817, allocations: 30.9 MB / 431.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.413e-05/0.6819, allocations: 36.62 kB / 431.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 5.009e-06/0.6819, allocations: 4 kB / 431.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004608/0.6865, allocations: 1.2 MB / 432.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.6866, allocations: 61.83 kB / 432.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.6871, allocations: 257 kB / 433.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.997e-05/0.6872, allocations: 33.45 kB / 433.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.6874, allocations: 192.7 kB / 433.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.6875, allocations: 110.6 kB / 433.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.6877, allocations: 77.61 kB / 433.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.6879, allocations: 337.4 kB / 433.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.6881, allocations: 91.47 kB / 433.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.6884, allocations: 216.8 kB / 434.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005334/0.689, allocations: 342 kB / 434.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.689, allocations: 0 / 434.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008461/0.6898, allocations: 417.4 kB / 434.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.6899, allocations: 12.11 kB / 434.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.6899, allocations: 4 kB / 434.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.6903, allocations: 65.61 kB / 435 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.6907, allocations: 89.36 kB / 435 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.693, allocations: 2.425 MB / 437.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.6935, allocations: 35.58 kB / 437.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.6935, allocations: 16.94 kB / 437.5 MB, free: 6.012 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003187/0.6938, allocations: 170 kB / 437.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.694, allocations: 27.72 kB / 437.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.6953, allocations: 0.8676 MB / 438.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.6953, allocations: 11.61 kB / 438.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6953, allocations: 4 kB / 438.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001163/0.6965, allocations: 1.037 MB / 439.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.6988, allocations: 1.495 MB / 441.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.6989, allocations: 3.281 kB / 441.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.6991, allocations: 51.41 kB / 441.2 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003571/0.6995, allocations: 71.45 kB / 441.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.6995, allocations: 16.11 kB / 441.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004745/0.7, allocations: 0.5918 MB / 441.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7, allocations: 0 / 441.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.7012, allocations: 0.8183 MB / 442.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.7014, allocations: 116.6 kB / 442.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/0.7015, allocations: 18.66 kB / 442.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.7019, allocations: 31.66 kB / 442.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.702, allocations: 23.53 kB / 442.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.702, allocations: 15.3 kB / 442.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003114/0.7024, allocations: 235.1 kB / 443.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7024, allocations: 0 / 443.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.006308/0.7087, allocations: 0.8542 MB / 444 MB, free: 0.8359 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.009735/0.7184, allocations: 0.9733 MB / 444.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.72, allocations: 489.4 kB / 445.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.72, allocations: 7.156 kB / 445.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.7206, allocations: 249.9 kB / 445.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.722, allocations: 182.5 kB / 445.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.7245, allocations: 1.186 MB / 447 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.725, allocations: 0.8172 MB / 447.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.7252, allocations: 47.42 kB / 447.9 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.7252, allocations: 0 / 447.9 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.04919/0.7744, allocations: 22.95 MB / 470.8 MB, free: 6.129 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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 OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_phCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_phCalcHelperMain.o] Error 1