Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008059/0.000806, allocations: 88.83 kB / 17.63 MB, free: 6.133 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.0008263/0.0008263, allocations: 184.1 kB / 18.52 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 242.5 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2583/0.2583, allocations: 44.22 MB / 337.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 11.98 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1652, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5302/0.6954, allocations: 159.8 MB / 0.6172 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007541/0.703, allocations: 5.104 MB / 0.6222 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009157/0.704, allocations: 27.75 kB / 0.6222 GB, free: 14.28 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008484/0.7048, allocations: 262.4 kB / 0.6225 GB, free: 14.02 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003356/0.7082, allocations: 1.156 MB / 0.6236 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.7107, allocations: 0.8397 MB / 0.6244 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002806/0.7135, allocations: 2.238 MB / 0.6266 GB, free: 9.789 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00076/0.7143, allocations: 377 kB / 0.6269 GB, free: 9.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.7165, allocations: 0.8972 MB / 0.6278 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.7177, allocations: 0.7395 MB / 0.6285 GB, free: 7.773 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.928e-05/0.7178, allocations: 32 kB / 0.6286 GB, free: 7.742 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.7192, allocations: 459.3 kB / 0.629 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.7195, allocations: 235.3 kB / 0.6292 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.7197, allocations: 173.3 kB / 0.6294 GB, free: 6.887 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.7208, allocations: 0.9197 MB / 0.6303 GB, free: 5.965 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7209, allocations: 0 / 0.6303 GB, free: 5.965 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.7209, allocations: 0 / 0.6303 GB, free: 5.965 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.7209, allocations: 0 / 0.6303 GB, free: 5.965 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001961/0.7228, allocations: 0.9543 MB / 0.6312 GB, free: 4.961 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.7229, allocations: 8.562 kB / 0.6312 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000744/0.7236, allocations: 134.7 kB / 0.6314 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.7244, allocations: 0.4927 MB / 0.6319 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.7246, allocations: 108.4 kB / 0.632 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-05/0.7247, allocations: 44 kB / 0.632 GB, free: 4.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.7259, allocations: 0.8097 MB / 0.6328 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.7259, allocations: 7.984 kB / 0.6328 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-05/0.726, allocations: 27.92 kB / 0.6328 GB, free: 3.211 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.7261, allocations: 40.92 kB / 0.6329 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.7271, allocations: 0.6244 MB / 0.6335 GB, free: 2.547 MB / 462.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.004298/0.7314, allocations: 3.969 MB / 0.6373 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.732, allocations: 353.8 kB / 0.6377 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.7323, allocations: 169.3 kB / 0.6378 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.7324, allocations: 97.34 kB / 0.6379 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.7324, allocations: 38.84 kB / 0.638 GB, free: 13.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 3.306e-06/0.7325, allocations: 4 kB / 0.638 GB, free: 13.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005195/0.7377, allocations: 1.654 MB / 0.6396 GB, free: 11.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.978e-05/0.7378, allocations: 136.5 kB / 0.6397 GB, free: 11.74 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007766/0.7386, allocations: 0.6055 MB / 0.6403 GB, free: 11.13 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.7386, allocations: 33.7 kB / 0.6404 GB, free: 11.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.7389, allocations: 370.8 kB / 0.6407 GB, free: 10.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.739, allocations: 146 kB / 0.6408 GB, free: 10.58 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.7391, allocations: 12 kB / 0.6409 GB, free: 10.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003892/0.7395, allocations: 374.8 kB / 0.6412 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.7398, allocations: 201.9 kB / 0.6414 GB, free: 9.996 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006989/0.7405, allocations: 0.5086 MB / 0.6419 GB, free: 9.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.741, allocations: 300.5 kB / 0.6422 GB, free: 9.047 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.7411, allocations: 7.953 kB / 0.6422 GB, free: 9.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0014/0.7425, allocations: 0.8762 MB / 0.6431 GB, free: 8.152 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.7425, allocations: 8 kB / 0.6431 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.7425, allocations: 12 kB / 0.6431 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.7438, allocations: 324.7 kB / 0.6434 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.7442, allocations: 119.8 kB / 0.6435 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.7454, allocations: 0.9294 MB / 0.6444 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.746, allocations: 43.89 kB / 0.6444 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/0.7461, allocations: 68.05 kB / 0.6445 GB, free: 6.633 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004253/0.7465, allocations: 249.5 kB / 0.6447 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.7466, allocations: 71.2 kB / 0.6448 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.7484, allocations: 0.8669 MB / 0.6457 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.495e-06/0.7485, allocations: 4 kB / 0.6457 GB, free: 5.422 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.7485, allocations: 0 / 0.6457 GB, free: 5.422 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.7485, allocations: 4 kB / 0.6457 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.7506, allocations: 1.457 MB / 0.6471 GB, free: 3.824 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.7506, allocations: 3.938 kB / 0.6471 GB, free: 3.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009512/0.7515, allocations: 212 kB / 0.6473 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.071e-05/0.7517, allocations: 24.84 kB / 0.6473 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/0.7517, allocations: 19.98 kB / 0.6473 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/0.7544, allocations: 2.684 MB / 0.65 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7544, allocations: 0 / 0.65 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.7559, allocations: 0.8169 MB / 0.6508 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.7562, allocations: 196.2 kB / 0.6509 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.7563, allocations: 15.98 kB / 0.651 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.7567, allocations: 24.05 kB / 0.651 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.7568, allocations: 39.95 kB / 0.651 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.7569, allocations: 43.92 kB / 0.6511 GB, free: 15.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005904/0.7575, allocations: 427 kB / 0.6515 GB, free: 15.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7575, allocations: 0 / 0.6515 GB, free: 15.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009445/0.7584, allocations: 251.9 kB / 0.6517 GB, free: 14.77 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0007869/0.7592, allocations: 297 kB / 0.652 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.7604, allocations: 0.5505 MB / 0.6525 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7604, allocations: 4 kB / 0.6525 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009149/0.7614, allocations: 406.3 kB / 0.6529 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.7629, allocations: 351.9 kB / 0.6533 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.7654, allocations: 1.611 MB / 0.6548 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.766, allocations: 0.9261 MB / 0.6557 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/0.7665, allocations: 127.4 kB / 0.6559 GB, free: 10.45 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.7665, allocations: 0 / 0.6559 GB, free: 10.45 MB / 494.1 MB Notification: Performance of Templates: time 0.02265/0.7891, allocations: 16.28 MB / 0.6718 GB, free: 10.22 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteamCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteamCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteamCalcHelperMain.o] Error 1