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.001644/0.001644, allocations: 105.3 kB / 16.52 MB, free: 6.266 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.001978/0.001978, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.909/1.909, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2617/0.2617, allocations: 43.52 MB / 314.1 MB, free: 0.7578 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.0019/0.0019, allocations: 65.58 kB / 382.7 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1798, allocations: 57.79 MB / 440.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.6757/0.8556, allocations: 178.1 MB / 0.6041 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.8663, allocations: 5.914 MB / 0.6099 GB, free: 6.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.8678, allocations: 28.69 kB / 0.6099 GB, free: 6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.869, allocations: 277.8 kB / 0.6102 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005614/0.8746, allocations: 1.398 MB / 0.6115 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003835/0.8784, allocations: 1.109 MB / 0.6126 GB, free: 4.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003504/0.882, allocations: 2.71 MB / 0.6153 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006234/0.8826, allocations: 401.5 kB / 0.6156 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003022/0.8856, allocations: 1.107 MB / 0.6167 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.8871, allocations: 0.7665 MB / 0.6175 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.8872, allocations: 36.5 kB / 0.6175 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.8892, allocations: 0.6998 MB / 0.6182 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.8895, allocations: 242 kB / 0.6184 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004394/0.89, allocations: 373 kB / 0.6188 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.8913, allocations: 1.036 MB / 0.6198 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8913, allocations: 0 / 0.6198 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.8913, allocations: 0 / 0.6198 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.8913, allocations: 0 / 0.6198 GB, free: 0.6172 MB / 430.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.002608/0.8939, allocations: 1.131 MB / 0.6209 GB, free: 15.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.894, allocations: 10.97 kB / 0.6209 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008095/0.8948, allocations: 127.1 kB / 0.621 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008409/0.8956, allocations: 0.5141 MB / 0.6215 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.8958, allocations: 107.4 kB / 0.6216 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/0.8959, allocations: 47.36 kB / 0.6217 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.8973, allocations: 0.8137 MB / 0.6225 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.8973, allocations: 7.938 kB / 0.6225 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.8974, allocations: 22.5 kB / 0.6225 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/0.8974, allocations: 44.92 kB / 0.6225 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.8985, allocations: 0.6166 MB / 0.6231 GB, free: 13.36 MB / 446.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.004605/0.9031, allocations: 3.985 MB / 0.627 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.9037, allocations: 359.6 kB / 0.6274 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.9041, allocations: 173.3 kB / 0.6275 GB, free: 8.617 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/0.9045, allocations: 353.5 kB / 0.6279 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.9046, allocations: 46.77 kB / 0.6279 GB, free: 8.164 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.9046, allocations: 0 / 0.6279 GB, free: 8.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005788/0.9104, allocations: 1.673 MB / 0.6296 GB, free: 6.422 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.9105, allocations: 132.5 kB / 0.6297 GB, free: 6.262 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008913/0.9114, allocations: 0.6132 MB / 0.6303 GB, free: 5.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.9115, allocations: 33.7 kB / 0.6303 GB, free: 5.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.9118, allocations: 372 kB / 0.6307 GB, free: 5.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.912, allocations: 145.2 kB / 0.6308 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.9123, allocations: 158.5 kB / 0.631 GB, free: 4.938 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.9125, allocations: 374.8 kB / 0.6313 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.9129, allocations: 205.9 kB / 0.6315 GB, free: 4.359 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.9136, allocations: 0.5163 MB / 0.632 GB, free: 3.699 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.9146, allocations: 0.7408 MB / 0.6327 GB, free: 2.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.9147, allocations: 4 kB / 0.6327 GB, free: 2.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001527/0.9162, allocations: 0.8833 MB / 0.6336 GB, free: 1.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.9162, allocations: 15.94 kB / 0.6336 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.9163, allocations: 8 kB / 0.6336 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.9178, allocations: 321.1 kB / 0.6339 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.9182, allocations: 123.8 kB / 0.6341 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.9197, allocations: 0.9303 MB / 0.635 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.9203, allocations: 48.03 kB / 0.635 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.9205, allocations: 63.98 kB / 0.6351 GB, free: 408 kB / 446.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 (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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005111/0.921, allocations: 254.3 kB / 0.6353 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.9212, allocations: 71.09 kB / 0.6354 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.9229, allocations: 0.6706 MB / 0.636 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.923, allocations: 4 kB / 0.636 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.923, allocations: 0 / 0.636 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.923, allocations: 7.969 kB / 0.636 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.9258, allocations: 1.611 MB / 0.6376 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/0.9258, allocations: 7.875 kB / 0.6376 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.9269, allocations: 207.8 kB / 0.6378 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.927, allocations: 28.97 kB / 0.6379 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.9271, allocations: 12 kB / 0.6379 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.9298, allocations: 2.679 MB / 0.6405 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.9298, allocations: 16.2 kB / 0.6405 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.9312, allocations: 0.7992 MB / 0.6413 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.9316, allocations: 192.2 kB / 0.6415 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.9317, allocations: 16 kB / 0.6415 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.9322, allocations: 23.98 kB / 0.6415 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.9323, allocations: 35.95 kB / 0.6415 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/0.9324, allocations: 43.98 kB / 0.6416 GB, free: 9.254 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007036/0.9331, allocations: 439 kB / 0.642 GB, free: 8.828 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9331, allocations: 4 kB / 0.642 GB, free: 8.824 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001217/0.9344, allocations: 291.9 kB / 0.6423 GB, free: 8.539 MB / 462.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.9355, allocations: 371 kB / 0.6426 GB, free: 8.191 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.9367, allocations: 0.5431 MB / 0.6432 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.9367, allocations: 7.859 kB / 0.6432 GB, free: 7.641 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.9378, allocations: 402.3 kB / 0.6435 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.9396, allocations: 347.1 kB / 0.6439 GB, free: 6.902 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.9426, allocations: 1.575 MB / 0.6454 GB, free: 5.285 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007499/0.9433, allocations: 0.9261 MB / 0.6463 GB, free: 4.332 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.9437, allocations: 115.4 kB / 0.6464 GB, free: 4.219 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.9437, allocations: 0 / 0.6464 GB, free: 4.219 MB / 462.1 MB Notification: Performance of Templates: time 0.0331/0.9769, allocations: 17.02 MB / 0.6631 GB, free: 3.215 MB / 478.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++ -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 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