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.001133/0.001134, allocations: 98.78 kB / 17.96 MB, free: 5.77 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.001345/0.001345, allocations: 175.9 kB / 18.86 MB, free: 4.906 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.939/1.939, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005285/0.0005284, allocations: 12 kB / 282 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1361, allocations: 47.58 MB / 329.6 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04061/0.1768, allocations: 32.51 MB / 362.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02304/0.2, allocations: 16.42 MB / 378.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000616/0.2006, allocations: 4 kB / 378.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.2017, allocations: 238.8 kB / 378.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009415/0.2026, allocations: 346.2 kB / 379.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3421/0.5447, allocations: 4.659 MB / 383.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002893/0.5476, allocations: 1.456 MB / 385.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.5479, allocations: 84.55 kB / 385.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006577/0.5545, allocations: 2.122 MB / 387.4 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006887/0.5552, allocations: 311.1 kB / 387.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-05/0.5553, allocations: 18.25 kB / 387.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01697/0.5722, allocations: 6.005 MB / 393.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.5726, allocations: 84.08 kB / 393.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007147/0.5733, allocations: 233.5 kB / 394.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009606/0.5829, allocations: 2.593 MB / 396.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.407e-05/0.583, allocations: 3.094 kB / 396.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.192e-06/0.583, allocations: 1.062 kB / 396.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.583, allocations: 0 / 396.7 MB, free: 11.25 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.006226/0.5893, allocations: 0.9041 MB / 397.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.083e-05/0.5894, allocations: 12.67 kB / 397.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.591, allocations: 164.3 kB / 397.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.5915, allocations: 313.4 kB / 398.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.5916, allocations: 23.47 kB / 398.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.5916, allocations: 31.06 kB / 398.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.5929, allocations: 0.5319 MB / 398.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.593, allocations: 4 kB / 398.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.593, allocations: 14.06 kB / 398.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.593, allocations: 10.03 kB / 398.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006079/0.5936, allocations: 326.9 kB / 399 MB, free: 10 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.003089/0.5967, allocations: 2.572 MB / 401.6 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.5974, allocations: 273.9 kB / 401.8 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.5976, allocations: 115.4 kB / 401.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07295/0.6705, allocations: 31.2 MB / 433.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.6706, allocations: 39.38 kB / 433.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.214e-06/0.6706, allocations: 0 / 433.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004178/0.6748, allocations: 1.219 MB / 434.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.6749, allocations: 62.28 kB / 434.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.6752, allocations: 262.4 kB / 434.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/0.6753, allocations: 29.33 kB / 434.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.6755, allocations: 188.1 kB / 434.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.931e-05/0.6756, allocations: 108.5 kB / 435 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.6757, allocations: 46.69 kB / 435.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6759, allocations: 336.6 kB / 435.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.676, allocations: 93.59 kB / 435.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.6763, allocations: 213.5 kB / 435.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.6768, allocations: 342.6 kB / 436 MB, free: 8.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.6768, allocations: 4 kB / 436 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008315/0.6777, allocations: 421.4 kB / 436.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.6777, allocations: 4 kB / 436.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6777, allocations: 4 kB / 436.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003233/0.6781, allocations: 60.72 kB / 436.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.6784, allocations: 94.61 kB / 436.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.6806, allocations: 2.43 MB / 439 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.681, allocations: 29.48 kB / 439.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.6811, allocations: 21.19 kB / 439.1 MB, free: 5.395 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.0003332/0.6814, allocations: 163.3 kB / 439.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.6815, allocations: 31.62 kB / 439.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.6828, allocations: 0.8678 MB / 440.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.6828, allocations: 7.984 kB / 440.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.6829, allocations: 4 kB / 440.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001068/0.6839, allocations: 1.042 MB / 441.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.6861, allocations: 1.49 MB / 442.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.6862, allocations: 2.844 kB / 442.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.6864, allocations: 54.83 kB / 442.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003723/0.6868, allocations: 83.53 kB / 442.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.6868, allocations: 9.688 kB / 442.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004812/0.6873, allocations: 0.5859 MB / 443.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.6873, allocations: 4.031 kB / 443.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.6885, allocations: 0.8265 MB / 444.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.6888, allocations: 136.3 kB / 444.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.6888, allocations: 4.25 kB / 444.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.6893, allocations: 47.06 kB / 444.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.6893, allocations: 15.97 kB / 444.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.6894, allocations: 19.86 kB / 444.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000321/0.6897, allocations: 231.5 kB / 444.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6897, allocations: 0 / 444.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.005667/0.6954, allocations: 0.8553 MB / 445.6 MB, free: 196 kB / 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.009669/0.7051, allocations: 0.972 MB / 446.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.7064, allocations: 486.5 kB / 447 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.7064, allocations: 4 kB / 447 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.7068, allocations: 247.1 kB / 447.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.7083, allocations: 184.2 kB / 447.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.7107, allocations: 1.255 MB / 448.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.7112, allocations: 0.8282 MB / 449.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.7113, allocations: 31.44 kB / 449.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.7113, allocations: 0 / 449.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Templates: time 0.05082/0.7622, allocations: 22.91 MB / 472.5 MB, free: 5.867 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