Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.0007472/0.0007473, allocations: 95.53 kB / 16.33 MB, free: 6.41 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.0007526/0.0007526, allocations: 186.2 kB / 17.22 MB, free: 6.305 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.5/1.5, allocations: 205.4 MB / 223.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3428/0.3428, allocations: 43.55 MB / 315.2 MB, free: 8.824 MB / 254.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.000494/0.000494, allocations: 12 kB / 384.6 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1344, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4379/0.5724, allocations: 163.8 MB / 0.593 GB, free: 8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007593/0.5801, allocations: 5.473 MB / 0.5983 GB, free: 2.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007241/0.5808, allocations: 27.75 kB / 0.5984 GB, free: 2.492 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008499/0.5817, allocations: 254.4 kB / 0.5986 GB, free: 2.242 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004257/0.586, allocations: 1.366 MB / 0.6 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.5888, allocations: 0.9651 MB / 0.6009 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.5912, allocations: 2.242 MB / 0.6031 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005306/0.5917, allocations: 385.3 kB / 0.6035 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.5938, allocations: 1.046 MB / 0.6045 GB, free: 12.26 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.595, allocations: 0.7395 MB / 0.6052 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.257e-05/0.5951, allocations: 32 kB / 0.6052 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.5964, allocations: 0.5967 MB / 0.6058 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.5967, allocations: 243.2 kB / 0.606 GB, free: 10.65 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.5969, allocations: 161.4 kB / 0.6062 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.598, allocations: 0.9899 MB / 0.6072 GB, free: 9.492 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.598, allocations: 0 / 0.6072 GB, free: 9.492 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.598, allocations: 0 / 0.6072 GB, free: 9.492 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.598, allocations: 0 / 0.6072 GB, free: 9.492 MB / 478.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.001962/0.6, allocations: 0.9946 MB / 0.6081 GB, free: 8.445 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.6, allocations: 16.02 kB / 0.6081 GB, free: 8.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007495/0.6008, allocations: 138.2 kB / 0.6083 GB, free: 8.297 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.6016, allocations: 492.6 kB / 0.6087 GB, free: 7.777 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.6017, allocations: 100.4 kB / 0.6088 GB, free: 7.664 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.05e-05/0.6018, allocations: 48 kB / 0.6089 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.6031, allocations: 0.8213 MB / 0.6097 GB, free: 6.723 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.6031, allocations: 3.953 kB / 0.6097 GB, free: 6.719 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.6032, allocations: 24 kB / 0.6097 GB, free: 6.695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-05/0.6032, allocations: 36.98 kB / 0.6098 GB, free: 6.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.6043, allocations: 0.6282 MB / 0.6104 GB, free: 6.031 MB / 478.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.00429/0.6086, allocations: 3.974 MB / 0.6142 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.6091, allocations: 343.6 kB / 0.6146 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.6094, allocations: 181.3 kB / 0.6147 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003933/0.6098, allocations: 361.4 kB / 0.6151 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.6098, allocations: 46.72 kB / 0.6151 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.6098, allocations: 0 / 0.6151 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.004705/0.6146, allocations: 1.667 MB / 0.6168 GB, free: 15.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.6147, allocations: 136.5 kB / 0.6169 GB, free: 14.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00069/0.6154, allocations: 0.6094 MB / 0.6175 GB, free: 14.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.6154, allocations: 37.7 kB / 0.6175 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.6157, allocations: 362.9 kB / 0.6179 GB, free: 13.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.6159, allocations: 142 kB / 0.618 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.6159, allocations: 16 kB / 0.618 GB, free: 13.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.6161, allocations: 378.8 kB / 0.6184 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.6164, allocations: 193.9 kB / 0.6186 GB, free: 13.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.617, allocations: 0.5086 MB / 0.6191 GB, free: 12.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.6175, allocations: 283.8 kB / 0.6193 GB, free: 12.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6175, allocations: 4 kB / 0.6193 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001363/0.6189, allocations: 0.8837 MB / 0.6202 GB, free: 11.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.6189, allocations: 9 kB / 0.6202 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.6189, allocations: 15.94 kB / 0.6202 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.6203, allocations: 320.5 kB / 0.6205 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.6206, allocations: 123.8 kB / 0.6207 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.6217, allocations: 0.9313 MB / 0.6216 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.6222, allocations: 47.97 kB / 0.6216 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/0.6222, allocations: 67.98 kB / 0.6217 GB, free: 9.824 MB / 494.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.0003064/0.6226, allocations: 241.5 kB / 0.6219 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.6227, allocations: 71.16 kB / 0.622 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.6241, allocations: 0.6902 MB / 0.6226 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6241, allocations: 4 kB / 0.6226 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6241, allocations: 0 / 0.6226 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.6242, allocations: 7.984 kB / 0.6227 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.6263, allocations: 1.603 MB / 0.6242 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6263, allocations: 128 / 0.6242 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009268/0.6273, allocations: 207.8 kB / 0.6244 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.042e-05/0.6274, allocations: 24.84 kB / 0.6244 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.6274, allocations: 19.98 kB / 0.6245 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.6295, allocations: 2.688 MB / 0.6271 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6295, allocations: 3.938 kB / 0.6271 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.6306, allocations: 0.7962 MB / 0.6279 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.6309, allocations: 196.2 kB / 0.6281 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.631, allocations: 16.77 kB / 0.6281 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.6314, allocations: 31.98 kB / 0.6281 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.6314, allocations: 35.95 kB / 0.6281 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/0.6315, allocations: 43.98 kB / 0.6282 GB, free: 2.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005148/0.6321, allocations: 431 kB / 0.6286 GB, free: 2.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6321, allocations: 0 / 0.6286 GB, free: 2.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009895/0.6331, allocations: 291.9 kB / 0.6289 GB, free: 1.973 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.000858/0.6339, allocations: 368.6 kB / 0.6292 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.635, allocations: 0.5306 MB / 0.6297 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.635, allocations: 0 / 0.6297 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008546/0.6359, allocations: 411.2 kB / 0.6301 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.6373, allocations: 343.9 kB / 0.6305 GB, free: 344 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2133/0.8506, allocations: 1.584 MB / 0.632 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.8511, allocations: 0.9265 MB / 0.6329 GB, free: 153 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/0.8516, allocations: 110.8 kB / 0.633 GB, free: 153 MB / 494.1 MB Notification: Performance of SimCode: time 1.733e-06/0.8516, allocations: 2.812 kB / 0.633 GB, free: 153 MB / 494.1 MB Notification: Performance of Templates: time 0.02204/0.8736, allocations: 16.81 MB / 0.6494 GB, free: 151.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile make -j1 -f ModelicaTest_3.2.3_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.NitrogenCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.NitrogenCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.NitrogenCalcHelperMain.o] Error 1