Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001228, allocations: 87.19 kB / 17.63 MB, free: 5.43 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.001471/0.001472, allocations: 188.8 kB / 18.52 MB, free: 4.992 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.473/1.473, allocations: 223.2 MB / 242.5 MB, free: 348 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.2389/0.2389, allocations: 44.23 MB / 337.9 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003558, allocations: 15.98 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1667, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.6027/0.7695, allocations: 159 MB / 0.6164 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008923/0.7785, allocations: 5.1 MB / 0.6213 GB, free: 15.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.7799, allocations: 23.81 kB / 0.6214 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009981/0.7809, allocations: 258.4 kB / 0.6216 GB, free: 14.78 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.004376/0.7853, allocations: 1.163 MB / 0.6228 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.7886, allocations: 0.8272 MB / 0.6236 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003482/0.7921, allocations: 2.246 MB / 0.6258 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006996/0.7928, allocations: 380.6 kB / 0.6261 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.7954, allocations: 0.905 MB / 0.627 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.7967, allocations: 0.7278 MB / 0.6277 GB, free: 8.531 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.018e-05/0.7968, allocations: 36 kB / 0.6277 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.7982, allocations: 462.2 kB / 0.6282 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.7985, allocations: 235.3 kB / 0.6284 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.7987, allocations: 165.3 kB / 0.6286 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.7998, allocations: 0.9235 MB / 0.6295 GB, free: 6.723 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.7998, allocations: 0 / 0.6295 GB, free: 6.723 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.7998, allocations: 0 / 0.6295 GB, free: 6.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.7998, allocations: 0 / 0.6295 GB, free: 6.723 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.001923/0.8018, allocations: 0.961 MB / 0.6304 GB, free: 5.715 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.8018, allocations: 8.562 kB / 0.6304 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007174/0.8025, allocations: 135.1 kB / 0.6305 GB, free: 5.574 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.8033, allocations: 0.4888 MB / 0.631 GB, free: 5.043 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.8034, allocations: 100.4 kB / 0.6311 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.425e-05/0.8036, allocations: 51.98 kB / 0.6312 GB, free: 4.883 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.8049, allocations: 0.8136 MB / 0.632 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.8049, allocations: 0 / 0.632 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/0.805, allocations: 24 kB / 0.632 GB, free: 3.973 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.8051, allocations: 40.91 kB / 0.632 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.8061, allocations: 0.6205 MB / 0.6326 GB, free: 3.312 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.004523/0.8106, allocations: 3.969 MB / 0.6365 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.8112, allocations: 347.6 kB / 0.6368 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.8115, allocations: 169.3 kB / 0.637 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.8116, allocations: 101.3 kB / 0.6371 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.8116, allocations: 34.84 kB / 0.6371 GB, free: 14.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.8116, allocations: 0 / 0.6371 GB, free: 14.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.004828/0.8165, allocations: 1.667 MB / 0.6388 GB, free: 12.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.8166, allocations: 136.5 kB / 0.6389 GB, free: 12.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.8173, allocations: 0.6094 MB / 0.6395 GB, free: 11.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.8174, allocations: 29.7 kB / 0.6395 GB, free: 11.85 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.8177, allocations: 370.8 kB / 0.6399 GB, free: 11.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.8179, allocations: 142 kB / 0.64 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.818, allocations: 12 kB / 0.64 GB, free: 11.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.8182, allocations: 378.8 kB / 0.6404 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.8186, allocations: 201.8 kB / 0.6406 GB, free: 10.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.8193, allocations: 0.5164 MB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.8198, allocations: 292.5 kB / 0.6413 GB, free: 9.809 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.8198, allocations: 7.953 kB / 0.6414 GB, free: 9.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001472/0.8213, allocations: 0.8757 MB / 0.6422 GB, free: 8.914 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.8213, allocations: 12 kB / 0.6422 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.8213, allocations: 8 kB / 0.6422 GB, free: 8.895 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.8226, allocations: 326 kB / 0.6425 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.823, allocations: 119.8 kB / 0.6427 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.8241, allocations: 0.9301 MB / 0.6436 GB, free: 7.504 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.8246, allocations: 40.05 kB / 0.6436 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-05/0.8246, allocations: 67.98 kB / 0.6437 GB, free: 7.398 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.0003189/0.825, allocations: 241.5 kB / 0.6439 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.8251, allocations: 75.09 kB / 0.644 GB, free: 7.078 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.8268, allocations: 0.8735 MB / 0.6448 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.8268, allocations: 4 kB / 0.6448 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.8268, allocations: 7.984 kB / 0.6448 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8268, allocations: 0 / 0.6448 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.8288, allocations: 1.454 MB / 0.6463 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8289, allocations: 0 / 0.6463 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009599/0.8298, allocations: 211.8 kB / 0.6465 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.753e-05/0.8299, allocations: 24.84 kB / 0.6465 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.83, allocations: 19.98 kB / 0.6465 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.8321, allocations: 2.692 MB / 0.6491 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8321, allocations: 3.938 kB / 0.6491 GB, free: 1.375 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.8333, allocations: 0.8092 MB / 0.6499 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.8336, allocations: 192.2 kB / 0.6501 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.924e-05/0.8337, allocations: 16 kB / 0.6501 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.8341, allocations: 28.03 kB / 0.6501 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.8341, allocations: 35.95 kB / 0.6502 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/0.8342, allocations: 43.98 kB / 0.6502 GB, free: 204 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005356/0.8348, allocations: 431 kB / 0.6506 GB, free: 15.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8348, allocations: 4 kB / 0.6506 GB, free: 15.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001027/0.8358, allocations: 255.9 kB / 0.6509 GB, free: 15.53 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.0008465/0.8367, allocations: 293.1 kB / 0.6512 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.8377, allocations: 0.5495 MB / 0.6517 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8378, allocations: 0 / 0.6517 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000909/0.8387, allocations: 403.7 kB / 0.6521 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.8402, allocations: 349.9 kB / 0.6524 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.8426, allocations: 1.608 MB / 0.654 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.8432, allocations: 0.9261 MB / 0.6549 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/0.8436, allocations: 127.4 kB / 0.655 GB, free: 11.21 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.8436, allocations: 0 / 0.655 GB, free: 11.21 MB / 494.1 MB Notification: Performance of Templates: time 0.02322/0.8668, allocations: 16.28 MB / 0.6709 GB, free: 10.99 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.IdealGases.NitrogenCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.NitrogenCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.NitrogenCalcHelperMain.o] Error 1