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.001375/0.001375, allocations: 108.8 kB / 17.81 MB, free: 5.559 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.001567/0.001567, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.922/1.922, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001719/0.00172, allocations: 43.92 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1437, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.5792/0.7229, allocations: 170.6 MB / 497.8 MB, free: 12.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.7276, allocations: 3.225 MB / 0.4893 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.7279, allocations: 8 kB / 0.4893 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007411/0.7287, allocations: 143.2 kB / 0.4895 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.7298, allocations: 387.7 kB / 0.4898 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009186/0.7307, allocations: 312.5 kB / 0.4901 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.7321, allocations: 1.348 MB / 0.4914 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.7323, allocations: 84.48 kB / 0.4915 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.7346, allocations: 0.7133 MB / 0.4922 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.7351, allocations: 294.8 kB / 0.4925 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/0.7352, allocations: 24 kB / 0.4925 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.7355, allocations: 99.88 kB / 0.4926 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.7356, allocations: 87.64 kB / 0.4927 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.7359, allocations: 171.3 kB / 0.4929 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.7363, allocations: 403 kB / 0.4933 GB, free: 5.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7364, allocations: 4 kB / 0.4933 GB, free: 5.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.7364, allocations: 0 / 0.4933 GB, free: 5.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.7364, allocations: 0 / 0.4933 GB, free: 5.605 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.001115/0.7375, allocations: 0.5892 MB / 0.4938 GB, free: 4.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.7375, allocations: 12.03 kB / 0.4938 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.7379, allocations: 47.61 kB / 0.4939 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.7383, allocations: 282.4 kB / 0.4942 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.7383, allocations: 21 kB / 0.4942 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.7386, allocations: 27.94 kB / 0.4942 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.7393, allocations: 319.7 kB / 0.4945 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.7393, allocations: 7.875 kB / 0.4945 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.7393, allocations: 15.98 kB / 0.4945 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.7394, allocations: 11.94 kB / 0.4945 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.7397, allocations: 197.6 kB / 0.4947 GB, free: 3.977 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.002243/0.742, allocations: 1.591 MB / 0.4963 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.7424, allocations: 167.2 kB / 0.4964 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.7426, allocations: 100.8 kB / 0.4965 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.7426, allocations: 12 kB / 0.4966 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.7427, allocations: 34.5 kB / 0.4966 GB, free: 1.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.7427, allocations: 0 / 0.4966 GB, free: 1.91 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.006381/0.7491, allocations: 1.613 MB / 0.4982 GB, free: 172 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.7491, allocations: 59.41 kB / 0.4982 GB, free: 100 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.7495, allocations: 252.9 kB / 0.4985 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.7495, allocations: 33.7 kB / 0.4985 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.7497, allocations: 180.1 kB / 0.4987 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.008e-05/0.7498, allocations: 90.66 kB / 0.4988 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.75, allocations: 85.38 kB / 0.4988 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.7502, allocations: 338.8 kB / 0.4992 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.7503, allocations: 91.95 kB / 0.4992 GB, free: 15.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.7506, allocations: 183.8 kB / 0.4994 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/0.7511, allocations: 312.2 kB / 0.4997 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7511, allocations: 4 kB / 0.4997 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007601/0.7519, allocations: 390.7 kB / 0.5001 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.7519, allocations: 8 kB / 0.5001 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.7519, allocations: 4 kB / 0.5001 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.7522, allocations: 77.61 kB / 0.5002 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.7526, allocations: 80.3 kB / 0.5003 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.7543, allocations: 1.856 MB / 0.5021 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.7546, allocations: 27.89 kB / 0.5021 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.7547, allocations: 32 kB / 0.5021 GB, free: 11.8 MB / 414.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.0002293/0.7549, allocations: 157.8 kB / 0.5023 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.755, allocations: 43.58 kB / 0.5023 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.7561, allocations: 430.9 kB / 0.5027 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.7561, allocations: 0 / 0.5027 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7561, allocations: 4 kB / 0.5027 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007284/0.7568, allocations: 0.5669 MB / 0.5033 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.758, allocations: 0.7309 MB / 0.504 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.758, allocations: 0.875 kB / 0.504 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.7584, allocations: 75.89 kB / 0.5041 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.7585, allocations: 24.91 kB / 0.5041 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.7585, allocations: 15.98 kB / 0.5041 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.7598, allocations: 1.288 MB / 0.5054 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7599, allocations: 0 / 0.5054 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.7606, allocations: 478.6 kB / 0.5058 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/0.7607, allocations: 104.8 kB / 0.5059 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.7608, allocations: 4.156 kB / 0.5059 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.761, allocations: 23.89 kB / 0.506 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.7611, allocations: 27.92 kB / 0.506 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.522e-05/0.7612, allocations: 31.98 kB / 0.506 GB, free: 7.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.7614, allocations: 186 kB / 0.5062 GB, free: 7.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7614, allocations: 0 / 0.5062 GB, free: 7.281 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005392/0.762, allocations: 127.9 kB / 0.5063 GB, free: 7.156 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.0004278/0.7624, allocations: 147.1 kB / 0.5064 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007457/0.7632, allocations: 378.5 kB / 0.5068 GB, free: 6.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.7632, allocations: 0 / 0.5068 GB, free: 6.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.7636, allocations: 222.6 kB / 0.507 GB, free: 6.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.7646, allocations: 159.9 kB / 0.5072 GB, free: 6.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.7661, allocations: 0.8283 MB / 0.508 GB, free: 5.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.7665, allocations: 0.7645 MB / 0.5087 GB, free: 4.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.7668, allocations: 75.41 kB / 0.5088 GB, free: 4.512 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.7668, allocations: 0 / 0.5088 GB, free: 4.512 MB / 414.1 MB Notification: Performance of Templates: time 0.01209/0.7789, allocations: 7.496 MB / 0.5161 GB, free: 13.01 MB / 430.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