Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.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) 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(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 95.02 kB / 16.95 MB, free: 5.953 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.001266/0.001265, allocations: 177.7 kB / 17.84 MB, free: 5.617 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.532/1.532, allocations: 223.2 MB / 241.8 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002695, allocations: 4 kB / 301.4 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4676/0.593, allocations: 137.7 MB / 489.6 MB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.5946, allocations: 0.6742 MB / 490.3 MB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.5949, allocations: 4 kB / 490.3 MB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.5952, allocations: 57.52 kB / 490.3 MB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000871/0.5961, allocations: 272.6 kB / 490.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.5992, allocations: 0.841 MB / 491.4 MB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006142/0.6054, allocations: 5.986 MB / 497.4 MB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005518/0.606, allocations: 258.8 kB / 497.7 MB, free: 4.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00467/0.6106, allocations: 1.921 MB / 499.6 MB, free: 2.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004375/0.615, allocations: 2.049 MB / 0.4899 GB, free: 172 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005289/0.6156, allocations: 144 kB / 0.49 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003795/0.6194, allocations: 1.392 MB / 0.4914 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.6208, allocations: 1.091 MB / 0.4924 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.622, allocations: 0.4967 MB / 0.4929 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00465/0.6267, allocations: 3.221 MB / 0.4961 GB, free: 9.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.6267, allocations: 5.594 kB / 0.4961 GB, free: 9.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.6267, allocations: 0 / 0.4961 GB, free: 9.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.545e-05/0.6268, allocations: 0 / 0.4961 GB, free: 9.805 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.007942/0.6348, allocations: 2.91 MB / 0.4989 GB, free: 6.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6348, allocations: 8.031 kB / 0.4989 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.6368, allocations: 325.2 kB / 0.4992 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.6396, allocations: 1.312 MB / 0.5005 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.6397, allocations: 176.9 kB / 0.5007 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.6401, allocations: 243.9 kB / 0.5009 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006772/0.6469, allocations: 3.8 MB / 0.5046 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.647, allocations: 4 kB / 0.5046 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003839/0.6473, allocations: 123.8 kB / 0.5048 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.786e-05/0.6474, allocations: 63.95 kB / 0.5048 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009126/0.6565, allocations: 5.967 MB / 0.5106 GB, free: 10.71 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.2864/0.943, allocations: 11.17 MB / 0.5215 GB, free: 145.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.9546, allocations: 5.017 MB / 0.5264 GB, free: 144.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005205/0.9598, allocations: 2.394 MB / 0.5288 GB, free: 143.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00068/0.9605, allocations: 440.4 kB / 0.5292 GB, free: 143.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.9607, allocations: 94.28 kB / 0.5293 GB, free: 143.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 8.345e-06/0.9607, allocations: 3.562 kB / 0.5293 GB, free: 143.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.0117/0.9724, allocations: 5.794 MB / 0.535 GB, free: 141.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.9725, allocations: 91.12 kB / 0.535 GB, free: 141.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.9739, allocations: 0.867 MB / 0.5359 GB, free: 141.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006037/0.9745, allocations: 100.9 kB / 0.536 GB, free: 141.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.9749, allocations: 0.5178 MB / 0.5365 GB, free: 140.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.9759, allocations: 1.301 MB / 0.5378 GB, free: 139.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.9761, allocations: 69.78 kB / 0.5378 GB, free: 139.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.9764, allocations: 0.5002 MB / 0.5383 GB, free: 139.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/0.9788, allocations: 1.732 MB / 0.54 GB, free: 138.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002702/0.9815, allocations: 2.248 MB / 0.5422 GB, free: 137.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.9843, allocations: 2.1 MB / 0.5443 GB, free: 136.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.9843, allocations: 0 / 0.5443 GB, free: 136.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006545/0.9909, allocations: 4.563 MB / 0.5487 GB, free: 132.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.9909, allocations: 8 kB / 0.5487 GB, free: 132.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.991, allocations: 15.78 kB / 0.5487 GB, free: 132.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.293e-05/0.991, allocations: 31.98 kB / 0.5488 GB, free: 132.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/0.9942, allocations: 0.7876 MB / 0.5495 GB, free: 131.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.262e-05/0.9943, allocations: 35.92 kB / 0.5496 GB, free: 131.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.9969, allocations: 429.7 kB / 0.55 GB, free: 131.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/0.9972, allocations: 147.9 kB / 0.5501 GB, free: 131.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001556/0.9988, allocations: 0.7602 MB / 0.5509 GB, free: 130.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004815/0.9993, allocations: 205.8 kB / 0.5511 GB, free: 130.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007662/1.007, allocations: 5.175 MB / 0.5561 GB, free: 125.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/1.007, allocations: 40 kB / 0.5562 GB, free: 125.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.007, allocations: 7.859 kB / 0.5562 GB, free: 125.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/1.007, allocations: 19.92 kB / 0.5562 GB, free: 125.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/1.012, allocations: 2.826 MB / 0.5589 GB, free: 122.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.012, allocations: 0 / 0.5589 GB, free: 122.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/1.015, allocations: 0.7254 MB / 0.5596 GB, free: 121.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-05/1.015, allocations: 16 kB / 0.5597 GB, free: 121.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/1.015, allocations: 91.95 kB / 0.5597 GB, free: 121.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/1.015, allocations: 12 kB / 0.5598 GB, free: 121.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.015, allocations: 1.531 kB / 0.5598 GB, free: 121.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009455/1.024, allocations: 7.183 MB / 0.5668 GB, free: 114.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/1.025, allocations: 353.8 kB / 0.5671 GB, free: 113.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/1.026, allocations: 75.98 kB / 0.5672 GB, free: 113.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/1.028, allocations: 307.4 kB / 0.5675 GB, free: 113.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004565/1.029, allocations: 306.9 kB / 0.5678 GB, free: 113.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003572/1.029, allocations: 183.9 kB / 0.5679 GB, free: 113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007677/1.03, allocations: 0.6824 MB / 0.5686 GB, free: 112.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.03, allocations: 0 / 0.5686 GB, free: 112.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002237/1.032, allocations: 1.077 MB / 0.5697 GB, free: 111.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009076/1.033, allocations: 440.2 kB / 0.5701 GB, free: 110.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005661/1.039, allocations: 4.253 MB / 0.5742 GB, free: 106.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.039, allocations: 5 kB / 0.5742 GB, free: 106.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002752/1.042, allocations: 2.254 MB / 0.5764 GB, free: 104.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005287/1.047, allocations: 1.248 MB / 0.5777 GB, free: 103.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.059, allocations: 7.875 MB / 0.5854 GB, free: 95.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.06, allocations: 1.849 MB / 0.5872 GB, free: 93.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/1.061, allocations: 327.3 kB / 0.5875 GB, free: 92.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.393e-06/1.061, allocations: 0 / 0.5875 GB, free: 92.98 MB / 430.1 MB Notification: Performance of Templates: time 0.06592/1.127, allocations: 46.33 MB / 0.6327 GB, free: 46.76 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.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 OMCppModelica_4.0.0_Modelica.Media.Examples.PsychrometricDataCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.PsychrometricDataCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.PsychrometricDataCalcHelperMain.o] Error 1