Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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.TestAllProperties.SimpleAir,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_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 106.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.001971/0.001971, 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.901/1.901, 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.2487/0.2487, allocations: 43.51 MB / 314.1 MB, free: 0.7656 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.001644/0.001644, allocations: 68.8 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1355, allocations: 57.79 MB / 440.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.5335/0.6691, allocations: 134 MB / 0.561 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008466/0.6776, allocations: 4.759 MB / 0.5657 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.6779, allocations: 1.219 kB / 0.5657 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006027/0.6787, allocations: 49.48 kB / 0.5657 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003034/0.6817, allocations: 0.6602 MB / 0.5664 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.6823, allocations: 158.2 kB / 0.5665 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007411/0.683, allocations: 446.6 kB / 0.5669 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.129e-05/0.6831, allocations: 11.97 kB / 0.567 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.6833, allocations: 155.5 kB / 0.5671 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.6837, allocations: 198.9 kB / 0.5673 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.6838, allocations: 6.906 kB / 0.5673 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.6861, allocations: 0.7111 MB / 0.568 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.6863, allocations: 46.36 kB / 0.568 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.6865, allocations: 106.1 kB / 0.5681 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000565/0.6871, allocations: 316.8 kB / 0.5684 GB, free: 12.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6871, allocations: 3.875 kB / 0.5684 GB, free: 12.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.6871, allocations: 2.625 kB / 0.5685 GB, free: 12.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.6871, allocations: 0 / 0.5685 GB, free: 12.73 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.001341/0.6885, allocations: 0.598 MB / 0.569 GB, free: 12.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.6885, allocations: 7.906 kB / 0.569 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.6887, allocations: 30.47 kB / 0.5691 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.689, allocations: 224.2 kB / 0.5693 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.6892, allocations: 125.4 kB / 0.5694 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.6893, allocations: 22.38 kB / 0.5694 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.6899, allocations: 326.5 kB / 0.5697 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.6899, allocations: 1.203 kB / 0.5697 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.69, allocations: 11.66 kB / 0.5698 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.69, allocations: 7.438 kB / 0.5698 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009595/0.691, allocations: 0.7432 MB / 0.5705 GB, free: 11.84 MB / 430.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.001591/0.6926, allocations: 1.226 MB / 0.5717 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.693, allocations: 185 kB / 0.5719 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.6932, allocations: 85.08 kB / 0.5719 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002733/0.696, allocations: 2.701 MB / 0.5746 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.696, allocations: 35.81 kB / 0.5746 GB, free: 8.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 2.324e-06/0.696, allocations: 4 kB / 0.5746 GB, free: 8.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007642/0.6968, allocations: 208.6 kB / 0.5748 GB, free: 7.945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.6969, allocations: 59.34 kB / 0.5749 GB, free: 7.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.6971, allocations: 215 kB / 0.5751 GB, free: 7.766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.6972, allocations: 29.27 kB / 0.5751 GB, free: 7.734 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.6974, allocations: 216.8 kB / 0.5753 GB, free: 7.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.6974, allocations: 46.36 kB / 0.5754 GB, free: 7.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.6976, allocations: 89.48 kB / 0.5754 GB, free: 7.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003371/0.6979, allocations: 338.1 kB / 0.5758 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.6981, allocations: 44.89 kB / 0.5758 GB, free: 7.191 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.6986, allocations: 330.7 kB / 0.5761 GB, free: 6.824 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.6993, allocations: 433 kB / 0.5765 GB, free: 6.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.6993, allocations: 3.484 kB / 0.5765 GB, free: 6.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006573/0.7, allocations: 371.9 kB / 0.5769 GB, free: 6.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.7, allocations: 17.53 kB / 0.5769 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.7001, allocations: 10.47 kB / 0.5769 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/0.7001, allocations: 12.19 kB / 0.5769 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.7004, allocations: 115.7 kB / 0.577 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.004e-05/0.7005, allocations: 21.25 kB / 0.5771 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.7007, allocations: 21.62 kB / 0.5771 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.7008, allocations: 28.28 kB / 0.5771 GB, free: 6.281 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.701, allocations: 150.4 kB / 0.5773 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.701, allocations: 25.88 kB / 0.5773 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.7014, allocations: 146.4 kB / 0.5774 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.7015, allocations: 3.938 kB / 0.5774 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7015, allocations: 4 kB / 0.5774 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.7015, allocations: 6.203 kB / 0.5774 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.7021, allocations: 447.8 kB / 0.5779 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.7021, allocations: 5.469 kB / 0.5779 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.7023, allocations: 24.52 kB / 0.5779 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7023, allocations: 7 kB / 0.5779 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.7023, allocations: 2.719 kB / 0.5779 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.7023, allocations: 0 / 0.5779 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7023, allocations: 4.062 kB / 0.5779 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.7026, allocations: 226.4 kB / 0.5781 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.7027, allocations: 103.7 kB / 0.5782 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.7027, allocations: 3.125 kB / 0.5782 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.7029, allocations: 10.23 kB / 0.5782 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.703, allocations: 13.25 kB / 0.5782 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.703, allocations: 12.66 kB / 0.5783 GB, free: 5.473 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.7031, allocations: 147.8 kB / 0.5784 GB, free: 5.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7031, allocations: 3.938 kB / 0.5784 GB, free: 5.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004897/0.7036, allocations: 89.92 kB / 0.5785 GB, free: 5.391 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004203/0.7041, allocations: 162.3 kB / 0.5786 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.7044, allocations: 178.1 kB / 0.5788 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.7044, allocations: 2.094 kB / 0.5788 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/0.7045, allocations: 36.62 kB / 0.5788 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.705, allocations: 53.58 kB / 0.5789 GB, free: 5.199 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.7061, allocations: 0.5782 MB / 0.5795 GB, free: 4.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.7064, allocations: 0.7278 MB / 0.5802 GB, free: 4.102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.7065, allocations: 33.72 kB / 0.5802 GB, free: 4.094 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.7065, allocations: 0 / 0.5802 GB, free: 4.094 MB / 430.1 MB Notification: Performance of Templates: time 0.007256/0.7138, allocations: 3.25 MB / 0.5834 GB, free: 2.426 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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.TestAllProperties.SimpleAirCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAirCalcHelperMain.o] Error 1