Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 102.6 kB / 15.71 MB, free: 460 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.001265/0.001265, allocations: 172.8 kB / 16.58 MB, free: 6.398 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.635/1.635, allocations: 223.2 MB / 240.6 MB, free: 5.422 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.72/2.72, allocations: 390.4 MB / 0.6662 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 12 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.032, allocations: 142.3 MB / 0.9544 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1779/1.21, allocations: 135.1 MB / 1.086 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001397/1.211, allocations: 1.052 MB / 1.087 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/1.211, allocations: 0 / 1.087 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002714/1.211, allocations: 31.77 kB / 1.087 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006565/1.212, allocations: 199 kB / 1.088 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/1.212, allocations: 143.5 kB / 1.088 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004309/1.213, allocations: 215.3 kB / 1.088 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/1.213, allocations: 49.25 kB / 1.088 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/1.213, allocations: 39.8 kB / 1.088 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/1.213, allocations: 47.77 kB / 1.088 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/1.213, allocations: 4 kB / 1.088 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/1.214, allocations: 287.4 kB / 1.088 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/1.214, allocations: 15.92 kB / 1.088 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/1.214, allocations: 49.64 kB / 1.088 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/1.214, allocations: 197.5 kB / 1.089 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.214, allocations: 4 kB / 1.089 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.745e-06/1.214, allocations: 0 / 1.089 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.992e-06/1.214, allocations: 0 / 1.089 GB, free: 6.32 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006316/1.215, allocations: 446.7 kB / 1.089 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.215, allocations: 12.03 kB / 1.089 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/1.215, allocations: 39.88 kB / 1.089 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/1.215, allocations: 198.8 kB / 1.089 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.215, allocations: 8 kB / 1.089 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/1.215, allocations: 15.98 kB / 1.089 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/1.215, allocations: 123.8 kB / 1.089 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.216, allocations: 0 / 1.089 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/1.216, allocations: 11.94 kB / 1.089 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.216, allocations: 4 kB / 1.089 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/1.216, allocations: 99.88 kB / 1.09 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/1.216, allocations: 472 kB / 1.09 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/1.217, allocations: 98.53 kB / 1.09 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/1.217, allocations: 44.94 kB / 1.09 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/1.217, allocations: 0 / 1.09 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/1.217, allocations: 34.56 kB / 1.09 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/1.217, allocations: 0 / 1.09 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004316/1.217, allocations: 161.4 kB / 1.09 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/1.217, allocations: 55.39 kB / 1.09 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/1.218, allocations: 178.3 kB / 1.091 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/1.218, allocations: 29.7 kB / 1.091 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.378e-05/1.218, allocations: 119.9 kB / 1.091 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/1.218, allocations: 23.7 kB / 1.091 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/1.218, allocations: 0 / 1.091 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.218, allocations: 322.8 kB / 1.091 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/1.218, allocations: 39.97 kB / 1.091 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/1.218, allocations: 39.98 kB / 1.091 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/1.218, allocations: 31.98 kB / 1.091 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.218, allocations: 0 / 1.091 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002581/1.218, allocations: 141.5 kB / 1.091 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.218, allocations: 5.094 kB / 1.091 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/1.218, allocations: 0 / 1.091 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/1.219, allocations: 3.953 kB / 1.091 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/1.219, allocations: 19.98 kB / 1.091 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/1.219, allocations: 4 kB / 1.091 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.028e-05/1.219, allocations: 19.84 kB / 1.091 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/1.219, allocations: 4 kB / 1.091 GB, free: 3.355 MB / 0.8419 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 (8): * Single equations (assignments): 8 * 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 9.74e-05/1.219, allocations: 121.8 kB / 1.091 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/1.219, allocations: 11.91 kB / 1.091 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/1.219, allocations: 138.9 kB / 1.092 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.219, allocations: 3.953 kB / 1.092 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.219, allocations: 3.984 kB / 1.092 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.219, allocations: 3.938 kB / 1.092 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/1.22, allocations: 221.6 kB / 1.092 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.22, allocations: 0 / 1.092 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.981e-05/1.22, allocations: 19.98 kB / 1.092 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.22, allocations: 0 / 1.092 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/1.22, allocations: 0 / 1.092 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.22, allocations: 0 / 1.092 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.22, allocations: 7.953 kB / 1.092 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/1.22, allocations: 215.4 kB / 1.092 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/1.22, allocations: 100.8 kB / 1.092 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/1.22, allocations: 8 kB / 1.092 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/1.22, allocations: 11.98 kB / 1.092 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/1.22, allocations: 4 kB / 1.092 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/1.22, allocations: 3.953 kB / 1.092 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001171/1.22, allocations: 141.2 kB / 1.092 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/1.22, allocations: 0 / 1.092 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002325/1.221, allocations: 20 kB / 1.092 GB, free: 2.238 MB / 0.8419 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 (7): * Single equations (assignments): 7 * 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.0001931/1.221, allocations: 107 kB / 1.092 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002517/1.221, allocations: 88.59 kB / 1.092 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.221, allocations: 7.938 kB / 1.092 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/1.221, allocations: 43.97 kB / 1.093 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/1.222, allocations: 34.81 kB / 1.093 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/1.222, allocations: 339 kB / 1.093 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/1.223, allocations: 0.7083 MB / 1.094 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/1.223, allocations: 11.44 kB / 1.094 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/1.223, allocations: 3.938 kB / 1.094 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of Templates: time 0.003508/1.226, allocations: 1.648 MB / 1.095 GB, free: 15.2 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.Fluid.HeatExchangers.BaseClasses.Examples.MassExchangeCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchangeCalcHelperMain.o] Error 1