Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,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.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,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.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 89.16 kB / 17.63 MB, free: 5.719 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.00143/0.00143, allocations: 179.9 kB / 18.52 MB, free: 5.172 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.531/1.531, allocations: 223.3 MB / 242.5 MB, free: 356 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.2355/0.2355, allocations: 44.23 MB / 337.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 8 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.5404/0.6723, allocations: 138 MB / 0.5959 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.6867, allocations: 9.66 MB / 0.6053 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003526/0.6871, allocations: 0 / 0.6053 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.6876, allocations: 55.64 kB / 0.6054 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008159/0.6957, allocations: 2.124 MB / 0.6075 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.6962, allocations: 145.9 kB / 0.6076 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000976/0.6971, allocations: 0.6426 MB / 0.6082 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.6972, allocations: 12.41 kB / 0.6082 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005388/0.6978, allocations: 215.2 kB / 0.6085 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009923/0.6988, allocations: 403 kB / 0.6088 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.316e-05/0.6989, allocations: 15.94 kB / 0.6089 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007817/0.7067, allocations: 3.655 MB / 0.6124 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.7069, allocations: 103.6 kB / 0.6125 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.7072, allocations: 77.58 kB / 0.6126 GB, free: 7.953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004117/0.7113, allocations: 1.456 MB / 0.614 GB, free: 6.496 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7113, allocations: 4 kB / 0.614 GB, free: 6.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.7113, allocations: 0 / 0.614 GB, free: 6.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.7114, allocations: 7.938 kB / 0.614 GB, free: 6.484 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003466/0.7148, allocations: 0.9793 MB / 0.615 GB, free: 5.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.7149, allocations: 8.031 kB / 0.615 GB, free: 5.449 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.7152, allocations: 39.7 kB / 0.615 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.7156, allocations: 246.6 kB / 0.6153 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.7157, allocations: 131.5 kB / 0.6154 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.7158, allocations: 28 kB / 0.6154 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009093/0.7167, allocations: 0.5603 MB / 0.616 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.7168, allocations: 7.984 kB / 0.616 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.7168, allocations: 12 kB / 0.616 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/0.7169, allocations: 28.55 kB / 0.616 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.7183, allocations: 1.255 MB / 0.6172 GB, free: 3.055 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.002883/0.7212, allocations: 1.968 MB / 0.6192 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.7219, allocations: 253.1 kB / 0.6194 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.7221, allocations: 126 kB / 0.6195 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003398/0.7255, allocations: 3.106 MB / 0.6226 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.7256, allocations: 41.81 kB / 0.6226 GB, free: 12.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.7256, allocations: 4 kB / 0.6226 GB, free: 12.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.002409/0.728, allocations: 0.6988 MB / 0.6233 GB, free: 12.14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.7281, allocations: 63.36 kB / 0.6233 GB, free: 12.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.7284, allocations: 194.3 kB / 0.6235 GB, free: 11.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.7285, allocations: 37.69 kB / 0.6236 GB, free: 11.83 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.7287, allocations: 195.7 kB / 0.6237 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.7288, allocations: 153.8 kB / 0.6239 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.7289, allocations: 12 kB / 0.6239 GB, free: 11.47 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.7291, allocations: 334.8 kB / 0.6242 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.7293, allocations: 101.2 kB / 0.6243 GB, free: 11.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.7298, allocations: 409.6 kB / 0.6247 GB, free: 10.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.7301, allocations: 186 kB / 0.6249 GB, free: 10.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.7301, allocations: 0 / 0.6249 GB, free: 10.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001071/0.7312, allocations: 0.5381 MB / 0.6254 GB, free: 9.766 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.7312, allocations: 12 kB / 0.6254 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.7313, allocations: 8 kB / 0.6254 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.531e-05/0.7313, allocations: 16 kB / 0.6254 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.732, allocations: 195.7 kB / 0.6256 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007679/0.7328, allocations: 1.199 MB / 0.6268 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.7332, allocations: 27.98 kB / 0.6268 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.7333, allocations: 55.98 kB / 0.6269 GB, free: 8.211 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.7335, allocations: 178.2 kB / 0.6271 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.7336, allocations: 31.72 kB / 0.6271 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.7349, allocations: 0.6389 MB / 0.6277 GB, free: 7.324 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.7349, allocations: 14.94 kB / 0.6277 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7349, allocations: 3.984 kB / 0.6277 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.735, allocations: 7.922 kB / 0.6277 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.7362, allocations: 0.8086 MB / 0.6285 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7362, allocations: 4 kB / 0.6285 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/0.7367, allocations: 99.86 kB / 0.6286 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.7367, allocations: 0 / 0.6286 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.7368, allocations: 12.09 kB / 0.6286 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007938/0.7376, allocations: 1.176 MB / 0.6298 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.7376, allocations: 0 / 0.6298 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.7381, allocations: 353.9 kB / 0.6301 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.7383, allocations: 136.7 kB / 0.6303 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.7383, allocations: 8 kB / 0.6303 GB, free: 4.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.7386, allocations: 11.98 kB / 0.6303 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.7387, allocations: 27.97 kB / 0.6303 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.7387, allocations: 19.98 kB / 0.6303 GB, free: 4.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000172/0.7389, allocations: 164.5 kB / 0.6305 GB, free: 4.305 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7389, allocations: 0 / 0.6305 GB, free: 4.305 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001908/0.7408, allocations: 495.5 kB / 0.6309 GB, free: 3.82 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00273/0.7435, allocations: 0.6964 MB / 0.6316 GB, free: 3.121 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.7447, allocations: 377.8 kB / 0.632 GB, free: 2.754 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7447, allocations: 0.8125 kB / 0.632 GB, free: 2.754 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.7452, allocations: 147.9 kB / 0.6321 GB, free: 2.609 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.7459, allocations: 103.5 kB / 0.6322 GB, free: 2.508 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0095/0.7554, allocations: 5.566 MB / 0.6377 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.7559, allocations: 0.7698 MB / 0.6384 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.7562, allocations: 87.38 kB / 0.6385 GB, free: 12.01 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7563, allocations: 0 / 0.6385 GB, free: 12.01 MB / 478.1 MB Notification: Performance of Templates: time 0.02233/0.7786, allocations: 13.14 MB / 0.6513 GB, free: 14.89 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAirCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAirCalcHelperMain.o] Error 1