Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009174/0.0009177, allocations: 93.88 kB / 17.63 MB, free: 6.156 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.001138/0.001138, allocations: 182.4 kB / 18.52 MB, free: 5.32 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.47/1.47, allocations: 223.2 MB / 242.5 MB, free: 320 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.2497/0.2497, allocations: 44.23 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005438/0.0005438, allocations: 11.98 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1685, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5178/0.6864, allocations: 136.2 MB / 0.5941 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006212/0.6927, allocations: 4.764 MB / 0.5987 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.6929, allocations: 0 / 0.5987 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.6932, allocations: 39.78 kB / 0.5988 GB, free: 6.254 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.6964, allocations: 0.9448 MB / 0.5997 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.6969, allocations: 137.3 kB / 0.5998 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007112/0.6976, allocations: 418 kB / 0.6002 GB, free: 4.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.6977, allocations: 9.688 kB / 0.6002 GB, free: 4.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.6979, allocations: 159.4 kB / 0.6004 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.6983, allocations: 183.5 kB / 0.6006 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.6984, allocations: 4 kB / 0.6006 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.7006, allocations: 0.8699 MB / 0.6014 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.7007, allocations: 43.81 kB / 0.6015 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.7009, allocations: 61.64 kB / 0.6015 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009665/0.7018, allocations: 0.575 MB / 0.6021 GB, free: 2.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7019, allocations: 0 / 0.6021 GB, free: 2.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.7019, allocations: 4 kB / 0.6021 GB, free: 2.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.7019, allocations: 0 / 0.6021 GB, free: 2.859 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001196/0.7031, allocations: 0.6129 MB / 0.6027 GB, free: 2.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7031, allocations: 12.03 kB / 0.6027 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006236/0.7094, allocations: 0.5849 MB / 0.6033 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.7099, allocations: 262.7 kB / 0.6035 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.71, allocations: 123.4 kB / 0.6036 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.662e-05/0.7101, allocations: 20 kB / 0.6036 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.7113, allocations: 0.5634 MB / 0.6042 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7113, allocations: 4 kB / 0.6042 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.7114, allocations: 12 kB / 0.6042 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.7114, allocations: 8 kB / 0.6042 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.7128, allocations: 0.6221 MB / 0.6048 GB, free: 15.89 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.00253/0.7154, allocations: 1.719 MB / 0.6065 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.7157, allocations: 152.8 kB / 0.6067 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.7159, allocations: 79.67 kB / 0.6067 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007888/0.7167, allocations: 0.7121 MB / 0.6074 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.87e-05/0.7168, allocations: 34.56 kB / 0.6075 GB, free: 12.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.7168, allocations: 0 / 0.6075 GB, free: 12.94 MB / 446.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.001009/0.7178, allocations: 315.8 kB / 0.6078 GB, free: 12.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.7179, allocations: 51.41 kB / 0.6078 GB, free: 12.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.7181, allocations: 202.9 kB / 0.608 GB, free: 12.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.7181, allocations: 25.7 kB / 0.608 GB, free: 12.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.7182, allocations: 187.1 kB / 0.6082 GB, free: 12.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.7183, allocations: 67.08 kB / 0.6083 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.7183, allocations: 15.94 kB / 0.6083 GB, free: 12.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.7185, allocations: 326.8 kB / 0.6086 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.7187, allocations: 64.7 kB / 0.6087 GB, free: 11.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.7191, allocations: 260.5 kB / 0.6089 GB, free: 11.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.7193, allocations: 106.7 kB / 0.609 GB, free: 11.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7193, allocations: 0 / 0.609 GB, free: 11.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006537/0.72, allocations: 365.1 kB / 0.6094 GB, free: 10.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.72, allocations: 8 kB / 0.6094 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.7201, allocations: 8 kB / 0.6094 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.7201, allocations: 11.94 kB / 0.6094 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.7205, allocations: 124.5 kB / 0.6095 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004395/0.7209, allocations: 0.6132 MB / 0.6101 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.7212, allocations: 47.53 kB / 0.6101 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.7213, allocations: 40 kB / 0.6102 GB, free: 9.977 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001634/0.7214, allocations: 145.7 kB / 0.6103 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.7215, allocations: 15.81 kB / 0.6103 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.7225, allocations: 441.5 kB / 0.6108 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7226, allocations: 0 / 0.6108 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7226, allocations: 0 / 0.6108 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7226, allocations: 0 / 0.6108 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000913/0.7235, allocations: 0.6313 MB / 0.6114 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.7235, allocations: 4 kB / 0.6114 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.7237, allocations: 59.91 kB / 0.6114 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.7237, allocations: 0 / 0.6114 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.7238, allocations: 11.98 kB / 0.6114 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004902/0.7243, allocations: 0.6012 MB / 0.612 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7243, allocations: 3.938 kB / 0.612 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.7246, allocations: 292.1 kB / 0.6123 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.7247, allocations: 124.7 kB / 0.6124 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.7248, allocations: 4 kB / 0.6124 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.725, allocations: 11.98 kB / 0.6125 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.7251, allocations: 23.92 kB / 0.6125 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.7251, allocations: 19.98 kB / 0.6125 GB, free: 7.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.7252, allocations: 139 kB / 0.6126 GB, free: 7.281 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7252, allocations: 0 / 0.6126 GB, free: 7.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006968/0.7259, allocations: 148 kB / 0.6128 GB, free: 7.137 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (15): * Single equations (assignments): 14 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0006624/0.7266, allocations: 244.8 kB / 0.613 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005243/0.7272, allocations: 217.3 kB / 0.6132 GB, free: 6.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7272, allocations: 0 / 0.6132 GB, free: 6.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.7274, allocations: 88.39 kB / 0.6133 GB, free: 6.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.7279, allocations: 59.78 kB / 0.6133 GB, free: 6.543 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.7293, allocations: 0.8143 MB / 0.6141 GB, free: 5.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.7297, allocations: 0.725 MB / 0.6149 GB, free: 4.926 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.73, allocations: 91.34 kB / 0.6149 GB, free: 4.836 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.73, allocations: 0 / 0.6149 GB, free: 4.836 MB / 446.1 MB Notification: Performance of Templates: time 0.00895/0.739, allocations: 5.203 MB / 0.62 GB, free: 15.63 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.TestAllProperties.DryAirNasaCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasaCalcHelperMain.o] Error 1