Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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.IdealGases.Nitrogen,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.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,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.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001302, allocations: 98.86 kB / 17.96 MB, free: 5.77 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.00124/0.00124, allocations: 176.5 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.4 MB / 225 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.0005263/0.0005263, allocations: 12.52 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.5126/0.6482, allocations: 168.3 MB / 498 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004691/0.653, allocations: 3.182 MB / 0.4894 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.6534, allocations: 7.938 kB / 0.4894 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006818/0.6541, allocations: 131.3 kB / 0.4895 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.6551, allocations: 391.6 kB / 0.4899 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009513/0.6561, allocations: 312.5 kB / 0.4902 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.6575, allocations: 1.355 MB / 0.4915 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.6577, allocations: 72.64 kB / 0.4916 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.6594, allocations: 0.7094 MB / 0.4923 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000424/0.6599, allocations: 286.8 kB / 0.4926 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.6599, allocations: 16 kB / 0.4926 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.6602, allocations: 103.9 kB / 0.4927 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.6604, allocations: 83.7 kB / 0.4927 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.6606, allocations: 193 kB / 0.4929 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.6611, allocations: 399 kB / 0.4933 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.6611, allocations: 0 / 0.4933 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6611, allocations: 3.938 kB / 0.4933 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.6611, allocations: 0 / 0.4933 GB, free: 10.17 MB / 398.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.000961/0.6621, allocations: 0.5152 MB / 0.4938 GB, free: 9.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.6622, allocations: 8.031 kB / 0.4938 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.6625, allocations: 49.42 kB / 0.4939 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.663, allocations: 286.4 kB / 0.4941 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.663, allocations: 12.56 kB / 0.4942 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.6631, allocations: 24 kB / 0.4942 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.6636, allocations: 327.7 kB / 0.4945 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.6636, allocations: 7.938 kB / 0.4945 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.6637, allocations: 12 kB / 0.4945 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.6637, allocations: 4 kB / 0.4945 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.6641, allocations: 205.5 kB / 0.4947 GB, free: 8.621 MB / 398.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.002035/0.6661, allocations: 1.589 MB / 0.4963 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.6664, allocations: 179.1 kB / 0.4964 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.6666, allocations: 92.77 kB / 0.4965 GB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.6666, allocations: 11.94 kB / 0.4965 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.6667, allocations: 30.56 kB / 0.4966 GB, free: 6.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.6667, allocations: 0 / 0.4966 GB, free: 6.555 MB / 398.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.005732/0.6724, allocations: 1.625 MB / 0.4982 GB, free: 4.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.6725, allocations: 55.41 kB / 0.4982 GB, free: 4.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.6728, allocations: 260.8 kB / 0.4985 GB, free: 4.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.6729, allocations: 33.7 kB / 0.4985 GB, free: 4.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.673, allocations: 180.1 kB / 0.4987 GB, free: 4.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.988e-05/0.6731, allocations: 98.64 kB / 0.4988 GB, free: 4.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.6732, allocations: 37.7 kB / 0.4988 GB, free: 4.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6734, allocations: 330.8 kB / 0.4991 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.6735, allocations: 95.73 kB / 0.4992 GB, free: 3.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.6738, allocations: 191.8 kB / 0.4994 GB, free: 3.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.6743, allocations: 308.2 kB / 0.4997 GB, free: 3.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6743, allocations: 4 kB / 0.4997 GB, free: 3.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006557/0.6749, allocations: 394.7 kB / 0.5001 GB, free: 2.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.675, allocations: 4 kB / 0.5001 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.675, allocations: 4.406 kB / 0.5001 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.6752, allocations: 73.67 kB / 0.5001 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.6756, allocations: 91.83 kB / 0.5002 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.6772, allocations: 1.852 MB / 0.502 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.6774, allocations: 20.95 kB / 0.502 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.6775, allocations: 44 kB / 0.5021 GB, free: 464 kB / 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.6777, allocations: 157.7 kB / 0.5022 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.6777, allocations: 35.64 kB / 0.5023 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.6788, allocations: 432 kB / 0.5027 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.6788, allocations: 4 kB / 0.5027 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.6788, allocations: 0 / 0.5027 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006576/0.6795, allocations: 0.5668 MB / 0.5032 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.6806, allocations: 0.7309 MB / 0.504 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6806, allocations: 4 kB / 0.504 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.6809, allocations: 67.95 kB / 0.504 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.378e-05/0.681, allocations: 28.69 kB / 0.5041 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.681, allocations: 15.98 kB / 0.5041 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009831/0.682, allocations: 1.276 MB / 0.5053 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.682, allocations: 0 / 0.5053 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006751/0.6827, allocations: 490.6 kB / 0.5058 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.6828, allocations: 108.8 kB / 0.5059 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.6829, allocations: 4 kB / 0.5059 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.6831, allocations: 15.98 kB / 0.5059 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.6832, allocations: 39.83 kB / 0.5059 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.6833, allocations: 32.05 kB / 0.506 GB, free: 12.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.6835, allocations: 186 kB / 0.5062 GB, free: 11.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6835, allocations: 0 / 0.5062 GB, free: 11.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004955/0.684, allocations: 131.9 kB / 0.5063 GB, free: 11.8 MB / 414.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 (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): 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.0004112/0.6844, allocations: 143.2 kB / 0.5064 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000681/0.6851, allocations: 370.1 kB / 0.5068 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6851, allocations: 0.8125 kB / 0.5068 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.6854, allocations: 234.5 kB / 0.507 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.6864, allocations: 158.4 kB / 0.5071 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.6878, allocations: 0.8887 MB / 0.508 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.6882, allocations: 0.7684 MB / 0.5088 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.6885, allocations: 75.39 kB / 0.5088 GB, free: 9.094 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.6885, allocations: 0 / 0.5088 GB, free: 9.094 MB / 414.1 MB Notification: Performance of Templates: time 0.01138/0.6999, allocations: 7.452 MB / 0.5161 GB, free: 1.637 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.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 OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.NitrogenCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.NitrogenCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.NitrogenCalcHelperMain.o] Error 1