Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.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) 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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009572/0.0009572, allocations: 91.17 kB / 17.95 MB, free: 5.648 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.00127/0.00127, allocations: 176.1 kB / 18.86 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, 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.0005872/0.0005868, allocations: 15.94 kB / 282.1 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1419, allocations: 47.58 MB / 329.6 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.0471/0.189, allocations: 32.5 MB / 362.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02338/0.2125, allocations: 16.41 MB / 378.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009008/0.2134, allocations: 0 / 378.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.2147, allocations: 234.8 kB / 378.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.216, allocations: 354.2 kB / 379.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3483/0.5643, allocations: 4.664 MB / 383.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003553/0.5679, allocations: 1.425 MB / 385.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.5682, allocations: 81.16 kB / 385.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006099/0.5743, allocations: 2.108 MB / 387.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006614/0.575, allocations: 307.3 kB / 387.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.575, allocations: 17.62 kB / 387.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009381/0.5844, allocations: 3.513 MB / 391.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.5847, allocations: 86.28 kB / 391.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.5851, allocations: 222.4 kB / 391.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003601/0.5888, allocations: 1.639 MB / 393.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.5888, allocations: 3.188 kB / 393.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5888, allocations: 0 / 393.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.5888, allocations: 0 / 393.2 MB, free: 11.45 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.002383/0.5912, allocations: 0.7427 MB / 393.9 MB, free: 10.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.5912, allocations: 8.5 kB / 393.9 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008613/0.5921, allocations: 90.66 kB / 394 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.5925, allocations: 307.7 kB / 394.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.5926, allocations: 23.28 kB / 394.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.5926, allocations: 30.56 kB / 394.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.5935, allocations: 448.9 kB / 394.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.5935, allocations: 3.188 kB / 394.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.5935, allocations: 14.03 kB / 394.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.5935, allocations: 9.781 kB / 394.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.5942, allocations: 318.2 kB / 395.1 MB, free: 10.58 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.002712/0.5969, allocations: 2.624 MB / 397.8 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.5975, allocations: 249.8 kB / 398 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.5977, allocations: 108.7 kB / 398.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03383/0.6315, allocations: 15.6 MB / 413.7 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.6316, allocations: 33.88 kB / 413.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.053e-06/0.6316, allocations: 0 / 413.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.00457/0.6362, allocations: 1.318 MB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.6363, allocations: 54.31 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.6366, allocations: 273.8 kB / 415.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.6366, allocations: 32.05 kB / 415.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.6368, allocations: 189.2 kB / 415.6 MB, free: 12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.6369, allocations: 107.1 kB / 415.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.637, allocations: 44.09 kB / 415.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6371, allocations: 338.4 kB / 416.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.6373, allocations: 102.5 kB / 416.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.6375, allocations: 220 kB / 416.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.638, allocations: 355.2 kB / 416.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.638, allocations: 0 / 416.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007026/0.6387, allocations: 445.5 kB / 417.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6387, allocations: 6.781 kB / 417.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6387, allocations: 5.25 kB / 417.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.6419, allocations: 273.6 kB / 417.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.6422, allocations: 79.78 kB / 417.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.6439, allocations: 1.879 MB / 419.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.6442, allocations: 25.75 kB / 419.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.6442, allocations: 20.36 kB / 419.4 MB, free: 9.215 MB / 334.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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.6445, allocations: 167.7 kB / 419.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.6445, allocations: 31.31 kB / 419.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.6456, allocations: 0.9519 MB / 420.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.6457, allocations: 10.45 kB / 420.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.6457, allocations: 0 / 420.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/0.6467, allocations: 1.111 MB / 421.7 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.6486, allocations: 1.596 MB / 423.3 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6486, allocations: 0 / 423.3 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.6488, allocations: 55.34 kB / 423.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.6506, allocations: 297 kB / 423.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.6507, allocations: 9.234 kB / 423.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006136/0.6513, allocations: 0.6664 MB / 424.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6513, allocations: 0 / 424.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.6526, allocations: 0.9513 MB / 425.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.6527, allocations: 139.7 kB / 425.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.6528, allocations: 11.81 kB / 425.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.653, allocations: 19.86 kB / 425.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.6531, allocations: 19.92 kB / 425.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.6531, allocations: 11.98 kB / 425.5 MB, free: 5.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002688/0.6534, allocations: 235.8 kB / 425.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6534, allocations: 0 / 425.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002809/0.6562, allocations: 0.4903 MB / 426.2 MB, free: 4.43 MB / 334.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.T) * 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 (30): * Single equations (assignments): 27 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002204/0.6584, allocations: 0.5203 MB / 426.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.6595, allocations: 0.5182 MB / 427.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.6595, allocations: 0 / 427.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.6599, allocations: 301.5 kB / 427.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.6611, allocations: 190.8 kB / 427.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.6633, allocations: 1.278 MB / 429 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.6639, allocations: 0.8206 MB / 429.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.664, allocations: 31.44 kB / 429.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.664, allocations: 0 / 429.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of Templates: time 0.02573/0.6897, allocations: 15.1 MB / 445 MB, free: 2.27 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.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 OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o] Error 1