Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008636/0.0008636, allocations: 100.5 kB / 15.71 MB, free: 452 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.001299/0.001299, allocations: 174.9 kB / 16.58 MB, free: 6.422 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 / 240.6 MB, free: 5.414 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.757/2.757, allocations: 390.5 MB / 0.6662 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003757, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9333/0.9337, allocations: 142.3 MB / 0.9544 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2473/1.181, allocations: 195.2 MB / 1.145 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01225/1.193, allocations: 6.621 MB / 1.151 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/1.195, allocations: 39.75 kB / 1.152 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/1.197, allocations: 0.4967 MB / 1.152 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006382/1.203, allocations: 1.804 MB / 1.154 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003091/1.206, allocations: 0.9053 MB / 1.155 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005245/1.212, allocations: 3.202 MB / 1.158 GB, free: 15.35 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/1.213, allocations: 0.7883 MB / 1.159 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004289/1.218, allocations: 1.525 MB / 1.16 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/1.22, allocations: 0.8715 MB / 1.161 GB, free: 12.14 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/1.22, allocations: 44 kB / 1.161 GB, free: 12.1 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004647/1.225, allocations: 1.54 MB / 1.162 GB, free: 10.56 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005648/1.225, allocations: 346.7 kB / 1.163 GB, free: 10.22 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006446/1.226, allocations: 269.1 kB / 1.163 GB, free: 9.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002901/1.229, allocations: 1.711 MB / 1.165 GB, free: 8.234 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.229, allocations: 4 kB / 1.165 GB, free: 8.23 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.034e-06/1.229, allocations: 0 / 1.165 GB, free: 8.23 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.811e-05/1.229, allocations: 0 / 1.165 GB, free: 8.23 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004312/1.233, allocations: 1.618 MB / 1.166 GB, free: 6.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.233, allocations: 12.03 kB / 1.166 GB, free: 6.543 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/1.236, allocations: 0.5799 MB / 1.167 GB, free: 5.961 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/1.238, allocations: 0.9336 MB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005656/1.239, allocations: 189.9 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/1.239, allocations: 87.98 kB / 1.168 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/1.242, allocations: 1.264 MB / 1.169 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/1.242, allocations: 4 kB / 1.169 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.242, allocations: 35.95 kB / 1.169 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.605e-05/1.242, allocations: 45.98 kB / 1.169 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003647/1.245, allocations: 1.608 MB / 1.171 GB, free: 1.746 MB / 0.92 GB 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.006789/1.252, allocations: 4.08 MB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/1.255, allocations: 1.048 MB / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/1.256, allocations: 0.6964 MB / 1.177 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/1.257, allocations: 0.6438 MB / 1.177 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/1.257, allocations: 39.22 kB / 1.177 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/1.257, allocations: 0 / 1.177 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.004718/1.262, allocations: 1.917 MB / 1.179 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/1.262, allocations: 60.06 kB / 1.179 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/1.263, allocations: 0.8037 MB / 1.18 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.842e-05/1.263, allocations: 49.7 kB / 1.18 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/1.264, allocations: 444.5 kB / 1.18 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/1.264, allocations: 260.2 kB / 1.181 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/1.264, allocations: 12 kB / 1.181 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.264, allocations: 333.9 kB / 1.181 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/1.266, allocations: 0.5602 MB / 1.182 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/1.267, allocations: 0.6902 MB / 1.182 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/1.268, allocations: 0.606 MB / 1.183 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.268, allocations: 0 / 1.183 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003182/1.272, allocations: 1.407 MB / 1.184 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/1.272, allocations: 151.9 kB / 1.184 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.272, allocations: 0 / 1.184 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.272, allocations: 4 kB / 1.184 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.273, allocations: 271.7 kB / 1.185 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007801/1.274, allocations: 1.192 MB / 1.186 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/1.275, allocations: 203.2 kB / 1.186 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-05/1.275, allocations: 31.98 kB / 1.186 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.275, allocations: 9.703 kB / 1.186 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002911/1.278, allocations: 1.294 MB / 1.187 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/1.278, allocations: 0 / 1.187 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/1.278, allocations: 11.89 kB / 1.187 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.279, allocations: 247.8 kB / 1.188 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.279, allocations: 4 kB / 1.188 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.281, allocations: 195.2 kB / 1.188 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.281, allocations: 35.97 kB / 1.188 GB, free: 15.89 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * 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.0008423/1.282, allocations: 370.8 kB / 1.188 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/1.282, allocations: 106.7 kB / 1.188 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/1.286, allocations: 1.437 MB / 1.19 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.286, allocations: 8 kB / 1.19 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.286, allocations: 0 / 1.19 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.286, allocations: 3.984 kB / 1.19 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/1.291, allocations: 2.929 MB / 1.192 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/1.291, allocations: 4 kB / 1.192 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/1.293, allocations: 260.1 kB / 1.193 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/1.293, allocations: 7.953 kB / 1.193 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.87e-05/1.293, allocations: 23.98 kB / 1.193 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007076/1.293, allocations: 1.195 MB / 1.194 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.996e-06/1.293, allocations: 11.89 kB / 1.194 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003171/1.297, allocations: 1.53 MB / 1.195 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/1.297, allocations: 311.5 kB / 1.196 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/1.297, allocations: 19.94 kB / 1.196 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.298, allocations: 163.8 kB / 1.196 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/1.299, allocations: 64.39 kB / 1.196 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.78e-05/1.299, allocations: 31.97 kB / 1.196 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008233/1.3, allocations: 0.5661 MB / 1.197 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.3, allocations: 0 / 1.197 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0015/1.301, allocations: 0.5341 MB / 1.197 GB, free: 6.082 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * 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.0006426/1.302, allocations: 285.1 kB / 1.197 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005052/1.307, allocations: 2.123 MB / 1.199 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.307, allocations: 0 / 1.199 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/1.308, allocations: 0.7027 MB / 1.2 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/1.311, allocations: 0.5301 MB / 1.201 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/1.316, allocations: 2.538 MB / 1.203 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007311/1.317, allocations: 1.091 MB / 1.204 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/1.317, allocations: 107.4 kB / 1.204 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of SimCode: time 8.22e-07/1.317, allocations: 4 kB / 1.204 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of Templates: time 0.03842/1.356, allocations: 26.78 MB / 1.23 GB, free: 3.902 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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 OMCppBuildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.o] Error 1