Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008368/0.0008368, allocations: 102.4 kB / 15.71 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009446/0.0009446, allocations: 174.4 kB / 16.58 MB, free: 6.418 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 / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.634/2.634, allocations: 390.4 MB / 0.6662 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8993/0.8996, allocations: 142.3 MB / 0.9544 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001298/0.901, allocations: 0.9865 MB / 0.9554 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.9022, allocations: 0.7905 MB / 0.9561 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.9023, allocations: 0 / 0.9561 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.9023, allocations: 0 / 0.9561 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.467e-05/0.9024, allocations: 5.344 kB / 0.9562 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.9029, allocations: 102.2 kB / 0.9562 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.903, allocations: 30.77 kB / 0.9563 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.03e-05/0.903, allocations: 1.156 kB / 0.9563 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.9031, allocations: 13.7 kB / 0.9563 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.9032, allocations: 9.125 kB / 0.9563 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.9032, allocations: 0.875 kB / 0.9563 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.9036, allocations: 174.9 kB / 0.9565 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.9036, allocations: 2.562 kB / 0.9565 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.9037, allocations: 28.08 kB / 0.9565 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.9039, allocations: 87.05 kB / 0.9566 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.9039, allocations: 0 / 0.9566 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.915e-06/0.9039, allocations: 4 kB / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.9039, allocations: 0 / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000439/0.9043, allocations: 360.3 kB / 0.9569 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.9044, allocations: 8.906 kB / 0.9569 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.9044, allocations: 1.406 kB / 0.9569 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.285e-05/0.9045, allocations: 168.4 kB / 0.9571 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-05/0.9046, allocations: 32.92 kB / 0.9571 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.9046, allocations: 1.375 kB / 0.9571 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.9048, allocations: 46.88 kB / 0.9572 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.9048, allocations: 3.984 kB / 0.9572 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.9048, allocations: 3.953 kB / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.9048, allocations: 0.7812 kB / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.9049, allocations: 13.92 kB / 0.9572 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.9051, allocations: 162.9 kB / 0.9574 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.9053, allocations: 45.55 kB / 0.9574 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.9054, allocations: 27.38 kB / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.9056, allocations: 177.9 kB / 0.9576 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.9057, allocations: 39.81 kB / 0.9576 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.9057, allocations: 1.062 kB / 0.9576 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002359/0.9059, allocations: 67.98 kB / 0.9577 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.906, allocations: 60.55 kB / 0.9578 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.906, allocations: 97.66 kB / 0.9578 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.906, allocations: 25.7 kB / 0.9579 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.9061, allocations: 80.14 kB / 0.9579 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.9061, allocations: 14.66 kB / 0.958 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.9061, allocations: 0 / 0.958 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.9062, allocations: 312 kB / 0.9583 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.9062, allocations: 17.23 kB / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-05/0.9063, allocations: 5.406 kB / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.9063, allocations: 14.48 kB / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9063, allocations: 0 / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001177/0.9064, allocations: 51.34 kB / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.9065, allocations: 5.719 kB / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.9065, allocations: 0 / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.9065, allocations: 0 / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.9066, allocations: 14.23 kB / 0.9584 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.9066, allocations: 13.17 kB / 0.9584 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.9066, allocations: 9 kB / 0.9584 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.9066, allocations: 1.906 kB / 0.9584 GB, free: 4.406 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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 6.522e-05/0.9067, allocations: 106.9 kB / 0.9585 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.9067, allocations: 1.906 kB / 0.9585 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.9069, allocations: 63.08 kB / 0.9585 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.9069, allocations: 1.844 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9069, allocations: 0 / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.9069, allocations: 13.16 kB / 0.9586 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.506e-05/0.907, allocations: 158 kB / 0.9587 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.907, allocations: 1.125 kB / 0.9587 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.9071, allocations: 10.34 kB / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9071, allocations: 0 / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.9071, allocations: 1.156 kB / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9071, allocations: 0 / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.9071, allocations: 1.125 kB / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.9072, allocations: 91.8 kB / 0.9588 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.9073, allocations: 87.36 kB / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.9073, allocations: 5.172 kB / 0.9589 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.246e-05/0.9073, allocations: 1.094 kB / 0.9589 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.9074, allocations: 2.438 kB / 0.9589 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.9074, allocations: 9 kB / 0.9589 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.3e-05/0.9074, allocations: 81.77 kB / 0.959 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9074, allocations: 0 / 0.959 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000237/0.9077, allocations: 30.94 kB / 0.959 GB, free: 3.734 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0002255/0.9079, allocations: 148.8 kB / 0.9592 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.9081, allocations: 24.58 kB / 0.9592 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9081, allocations: 0.9688 kB / 0.9592 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.681e-05/0.9081, allocations: 12.86 kB / 0.9592 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.9084, allocations: 13.94 kB / 0.9592 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.9086, allocations: 171.2 kB / 0.9594 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.9088, allocations: 0.6767 MB / 0.96 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.9088, allocations: 10.94 kB / 0.96 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9088, allocations: 0 / 0.96 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of Templates: time 0.002466/0.9113, allocations: 0.9767 MB / 0.961 GB, free: 2.223 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTXCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTXCalcHelperMain.o] Error 1