Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.IdealSteam,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.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,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.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008433/0.0008434, allocations: 88.61 kB / 17.58 MB, free: 5.75 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.0008371/0.0008372, allocations: 179 kB / 18.47 MB, free: 5.203 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.7/1.7, allocations: 205.4 MB / 224.6 MB, free: 13.06 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.0004591/0.0004591, allocations: 11.98 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 47.58 MB / 329 MB, free: 4.051 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4712/0.5894, allocations: 157.7 MB / 486.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004588/0.5941, allocations: 2.988 MB / 489.7 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.5946, allocations: 7.938 kB / 489.7 MB, free: 9.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000654/0.5953, allocations: 127.2 kB / 489.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.5963, allocations: 366.1 kB / 490.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.5973, allocations: 278 kB / 490.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.5987, allocations: 1.114 MB / 491.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.5989, allocations: 64.67 kB / 491.7 MB, free: 7.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.6011, allocations: 0.6704 MB / 492.3 MB, free: 6.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.6016, allocations: 275 kB / 492.6 MB, free: 6.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.6017, allocations: 16 kB / 492.6 MB, free: 6.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003821/0.6021, allocations: 107.8 kB / 492.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.6022, allocations: 79.77 kB / 492.8 MB, free: 6.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.6023, allocations: 85.58 kB / 492.9 MB, free: 6.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006068/0.6029, allocations: 404.4 kB / 493.3 MB, free: 5.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.603, allocations: 0 / 493.3 MB, free: 5.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.603, allocations: 0 / 493.3 MB, free: 5.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.603, allocations: 4 kB / 493.3 MB, free: 5.863 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001206/0.6042, allocations: 0.5152 MB / 493.8 MB, free: 5.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.6043, allocations: 8.031 kB / 493.8 MB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.6046, allocations: 40.5 kB / 493.8 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.6052, allocations: 278.5 kB / 494.1 MB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.6053, allocations: 16.56 kB / 494.1 MB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.6053, allocations: 28 kB / 494.2 MB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007177/0.6061, allocations: 311.7 kB / 494.5 MB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.6061, allocations: 4 kB / 494.5 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.6062, allocations: 19.94 kB / 494.5 MB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.6062, allocations: 4 kB / 494.5 MB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.6066, allocations: 209.5 kB / 494.7 MB, free: 4.332 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.002407/0.609, allocations: 1.586 MB / 496.3 MB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.6094, allocations: 174.8 kB / 496.5 MB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.6095, allocations: 104.8 kB / 496.6 MB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.6096, allocations: 4 kB / 496.6 MB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.6096, allocations: 38.56 kB / 496.6 MB, free: 2.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.6096, allocations: 0 / 496.6 MB, free: 2.262 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005151/0.6148, allocations: 1.619 MB / 498.2 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.6149, allocations: 59.41 kB / 498.3 MB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.6152, allocations: 252.8 kB / 498.5 MB, free: 188 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.6153, allocations: 37.58 kB / 498.6 MB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.6155, allocations: 180.2 kB / 498.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.6156, allocations: 98.55 kB / 498.8 MB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.6156, allocations: 8 kB / 498.8 MB, free: 15.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.6158, allocations: 334.8 kB / 499.2 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.616, allocations: 95.67 kB / 499.3 MB, free: 15.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.6162, allocations: 183.8 kB / 499.4 MB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.6165, allocations: 119.9 kB / 499.6 MB, free: 15.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6165, allocations: 0 / 499.6 MB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007213/0.6172, allocations: 399.5 kB / 499.9 MB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.6172, allocations: 11.95 kB / 500 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.6173, allocations: 0 / 500 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/0.6175, allocations: 69.69 kB / 0.4883 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.6179, allocations: 83.89 kB / 0.4884 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.6194, allocations: 1.86 MB / 0.4902 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.6198, allocations: 28.14 kB / 0.4902 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.6198, allocations: 36 kB / 0.4903 GB, free: 12.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.62, allocations: 157.7 kB / 0.4904 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.6201, allocations: 27.72 kB / 0.4904 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.6211, allocations: 447.5 kB / 0.4909 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6211, allocations: 0 / 0.4909 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.6212, allocations: 0 / 0.4909 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000582/0.6217, allocations: 0.563 MB / 0.4914 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.6228, allocations: 0.7309 MB / 0.4921 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6228, allocations: 0 / 0.4921 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.6231, allocations: 75.89 kB / 0.4922 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.573e-05/0.6232, allocations: 20.91 kB / 0.4922 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.6233, allocations: 15.98 kB / 0.4922 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.6243, allocations: 1.284 MB / 0.4935 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6243, allocations: 0 / 0.4935 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.625, allocations: 478.5 kB / 0.494 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.6251, allocations: 108.8 kB / 0.4941 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.6252, allocations: 4.156 kB / 0.4941 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.6254, allocations: 23.92 kB / 0.4941 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.6255, allocations: 27.97 kB / 0.4941 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.6255, allocations: 27.98 kB / 0.4941 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.6257, allocations: 190 kB / 0.4943 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6257, allocations: 0 / 0.4943 GB, free: 7.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005379/0.6263, allocations: 120 kB / 0.4944 GB, free: 7.801 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003559/0.6267, allocations: 155.1 kB / 0.4946 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006763/0.6274, allocations: 374.4 kB / 0.4949 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6274, allocations: 0 / 0.4949 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.6277, allocations: 230.5 kB / 0.4952 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.6286, allocations: 165.2 kB / 0.4953 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.63, allocations: 0.8646 MB / 0.4962 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.6304, allocations: 0.7645 MB / 0.4969 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.6307, allocations: 79.39 kB / 0.497 GB, free: 5.094 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6307, allocations: 0 / 0.497 GB, free: 5.094 MB / 398.1 MB Notification: Performance of Templates: time 0.01124/0.642, allocations: 7.45 MB / 0.5043 GB, free: 13.64 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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 OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteamCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteamCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteamCalcHelperMain.o] Error 1