Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008575/0.0008576, allocations: 100.1 kB / 15.71 MB, free: 448 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.001765/0.001765, allocations: 184.3 kB / 16.59 MB, free: 6.859 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.57/1.57, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8768/0.8768, allocations: 89.61 MB / 381.3 MB, free: 11.44 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005496/0.0005497, allocations: 9.219 kB / 460.6 MB, free: 24.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1967, allocations: 68.82 MB / 0.5171 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.707/0.9038, allocations: 185.4 MB / 0.6981 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.9216, allocations: 13.83 MB / 0.7116 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.9232, allocations: 15.94 kB / 0.7116 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.9246, allocations: 445.5 kB / 0.7121 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.9278, allocations: 0.8858 MB / 0.7129 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.9316, allocations: 1.126 MB / 0.714 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001692/0.9333, allocations: 1.242 MB / 0.7152 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.9336, allocations: 208.7 kB / 0.7154 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.9358, allocations: 0.9035 MB / 0.7163 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.9362, allocations: 422.1 kB / 0.7167 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/0.9363, allocations: 40 kB / 0.7168 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.9399, allocations: 1.377 MB / 0.7181 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.9401, allocations: 147.3 kB / 0.7182 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.9403, allocations: 189.1 kB / 0.7184 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.9422, allocations: 1.161 MB / 0.7196 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.9422, allocations: 3.984 kB / 0.7196 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.537e-06/0.9422, allocations: 4 kB / 0.7196 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.9422, allocations: 0 / 0.7196 GB, free: 12.51 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002456/0.9447, allocations: 1.236 MB / 0.7208 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.9447, allocations: 8.031 kB / 0.7208 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.9462, allocations: 218.6 kB / 0.721 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/0.947, allocations: 0.5063 MB / 0.7215 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.9473, allocations: 196.8 kB / 0.7217 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.9474, allocations: 72 kB / 0.7217 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.949, allocations: 0.8414 MB / 0.7226 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.9491, allocations: 3.938 kB / 0.7226 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/0.9491, allocations: 36 kB / 0.7226 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.9492, allocations: 16 kB / 0.7226 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.9506, allocations: 0.6715 MB / 0.7233 GB, free: 8.582 MB / 0.5294 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.004223/0.9548, allocations: 2.883 MB / 0.7261 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.9562, allocations: 0.6147 MB / 0.7267 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007386/0.957, allocations: 382.4 kB / 0.727 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007334/0.9577, allocations: 0.7329 MB / 0.7278 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.9577, allocations: 43.08 kB / 0.7278 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 4.528e-06/0.9578, allocations: 0 / 0.7278 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.004648/0.9624, allocations: 1.886 MB / 0.7296 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.9625, allocations: 55.97 kB / 0.7297 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.9632, allocations: 0.4989 MB / 0.7302 GB, free: 1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/0.9633, allocations: 37.7 kB / 0.7302 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.9636, allocations: 360.3 kB / 0.7306 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.9638, allocations: 208.9 kB / 0.7308 GB, free: 404 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.9639, allocations: 12 kB / 0.7308 GB, free: 392 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.9641, allocations: 378.7 kB / 0.7311 GB, free: 4 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/0.9647, allocations: 277 kB / 0.7314 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.9654, allocations: 288.9 kB / 0.7317 GB, free: 15.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.966, allocations: 282.1 kB / 0.7319 GB, free: 15.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.966, allocations: 4 kB / 0.7319 GB, free: 15.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002796/0.9688, allocations: 1.117 MB / 0.733 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.9689, allocations: 4 kB / 0.733 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.9689, allocations: 0 / 0.733 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009658/0.9699, allocations: 270.3 kB / 0.7333 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/0.9706, allocations: 159.8 kB / 0.7335 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005824/0.9764, allocations: 4.91 MB / 0.7382 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.9771, allocations: 88.41 kB / 0.7383 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.9772, allocations: 39.98 kB / 0.7384 GB, free: 8.172 MB / 0.545 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 (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003994/0.9776, allocations: 189.7 kB / 0.7386 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.9778, allocations: 63.16 kB / 0.7386 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/0.9816, allocations: 1.667 MB / 0.7402 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.9816, allocations: 8 kB / 0.7402 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.9816, allocations: 7.938 kB / 0.7403 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.9816, allocations: 4.859 kB / 0.7403 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00447/0.9861, allocations: 2.26 MB / 0.7425 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.9861, allocations: 0 / 0.7425 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.9868, allocations: 151.8 kB / 0.7426 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007856/0.9876, allocations: 274.4 kB / 0.7429 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.9877, allocations: 27.98 kB / 0.7429 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006387/0.9941, allocations: 4.927 MB / 0.7477 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9941, allocations: 0 / 0.7477 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004686/0.9988, allocations: 1.536 MB / 0.7492 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006114/0.9995, allocations: 212.1 kB / 0.7494 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.9996, allocations: 12 kB / 0.7494 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/1, allocations: 63.89 kB / 0.7495 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/1.001, allocations: 60.42 kB / 0.7495 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/1.001, allocations: 39.98 kB / 0.7496 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009002/1.002, allocations: 362.8 kB / 0.7499 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.002, allocations: 7.938 kB / 0.7499 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002084/1.004, allocations: 355.3 kB / 0.7503 GB, free: 11.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * 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 (53): * Single equations (assignments): 50 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/1.006, allocations: 493.7 kB / 0.7507 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004269/1.01, allocations: 1.148 MB / 0.7519 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.01, allocations: 0 / 0.7519 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002768/1.013, allocations: 0.8664 MB / 0.7527 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.015, allocations: 176.8 kB / 0.7529 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/1.02, allocations: 2.094 MB / 0.7549 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.021, allocations: 0.9497 MB / 0.7559 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008232/1.022, allocations: 143.3 kB / 0.756 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of SimCode: time 4.308e-06/1.022, allocations: 0 / 0.756 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of Templates: time 0.04625/1.068, allocations: 22.93 MB / 0.7784 GB, free: 14.45 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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 OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlowCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlowCalcHelperMain.o] Error 1