Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7305/0.7305, allocations: 150.8 MB / 166.7 MB, free: 15.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.511e-05/1.519e-05, allocations: 7.984 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1432, allocations: 31.98 MB / 237.4 MB, free: 5.422 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger): time 1.454/1.597, allocations: 298 MB / 0.5229 GB, free: 9.035 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4447/2.042, allocations: 195.1 MB / 0.7135 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/2.043, allocations: 22.06 kB / 0.7135 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009298/2.044, allocations: 315.9 kB / 0.7138 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/2.047, allocations: 1.136 MB / 0.7149 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02608/2.073, allocations: 11.11 MB / 0.7257 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005585/2.078, allocations: 7.794 MB / 0.7334 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/2.08, allocations: 2.057 MB / 0.7354 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/2.082, allocations: 1.93 MB / 0.7372 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/2.085, allocations: 2.555 MB / 0.7397 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003978/2.085, allocations: 203.7 kB / 0.7399 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03531/2.121, allocations: 23.18 MB / 0.7626 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001585/2.122, allocations: 1.324 MB / 0.7639 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002778/2.125, allocations: 1.938 MB / 0.7658 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01664/2.142, allocations: 12.02 MB / 0.7775 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/2.142, allocations: 0 / 0.7775 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.865e-06/2.142, allocations: 0 / 0.7775 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.868e-05/2.142, allocations: 1.75 kB / 0.7775 GB, free: 6.977 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.01763/2.159, allocations: 5.75 MB / 0.7831 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/2.159, allocations: 12.03 kB / 0.7831 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006936/2.16, allocations: 383.6 kB / 0.7835 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/2.163, allocations: 1.767 MB / 0.7852 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001245/2.164, allocations: 1.203 MB / 0.7864 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005689/2.165, allocations: 289.3 kB / 0.7867 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/2.177, allocations: 6.847 MB / 0.7934 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/2.177, allocations: 1.75 kB / 0.7934 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003934/2.177, allocations: 120 kB / 0.7935 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.818e-05/2.177, allocations: 108 kB / 0.7936 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01853/2.196, allocations: 9.516 MB / 0.8029 GB, free: 14.56 MB / 0.6231 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.04049/2.236, allocations: 29.88 MB / 0.832 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/2.251, allocations: 7.048 MB / 0.8389 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009908/2.261, allocations: 4.93 MB / 0.8437 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6298/2.891, allocations: 226.5 MB / 1.065 GB, free: 152.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.497e-05/2.891, allocations: 73.75 kB / 1.065 GB, free: 152 MB / 0.795 GB Notification: Performance of pre-optimization done (n=589): time 1.133e-05/2.891, allocations: 0 / 1.065 GB, free: 152 MB / 0.795 GB Notification: Performance of matching and sorting (n=589): time 0.1129/3.004, allocations: 29.36 MB / 1.094 GB, free: 127.2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/3.004, allocations: 91.66 kB / 1.094 GB, free: 127.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/3.005, allocations: 1.101 MB / 1.095 GB, free: 126.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006423/3.006, allocations: 85.7 kB / 1.095 GB, free: 126.2 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/3.006, allocations: 0.8004 MB / 1.096 GB, free: 125.6 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00118/3.008, allocations: 1.957 MB / 1.098 GB, free: 123.9 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005353/3.008, allocations: 404.7 kB / 1.098 GB, free: 123.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.287e-05/3.008, allocations: 301.1 kB / 1.098 GB, free: 123.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007786/3.016, allocations: 4.312 MB / 1.102 GB, free: 120.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007936/3.024, allocations: 4.856 MB / 1.107 GB, free: 116.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01571/3.04, allocations: 9.145 MB / 1.116 GB, free: 110.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/3.04, allocations: 11.94 kB / 1.116 GB, free: 110.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=675) (initialization): time 0.02553/3.065, allocations: 14.41 MB / 1.13 GB, free: 97.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/3.065, allocations: 15.98 kB / 1.13 GB, free: 97.89 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/3.065, allocations: 19.56 kB / 1.13 GB, free: 97.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06473/3.13, allocations: 21.58 MB / 1.151 GB, free: 76.22 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/3.131, allocations: 242.7 kB / 1.152 GB, free: 76 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02972/3.161, allocations: 17.65 MB / 1.169 GB, free: 58.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/3.165, allocations: 0.9675 MB / 1.17 GB, free: 57.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004955/3.166, allocations: 187.8 kB / 1.17 GB, free: 57.04 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,sinkP.fluid,dynamicMultiFluidHeatExchanger.ExchangerFlueGasesMetal.fluid,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.C1.diff_on_2,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.C2.diff_on_1,dynamicMultiFluidHeatExchanger.ExchangerFlueGasesMetal.C1.diff_on_2,dynamicMultiFluidHeatExchanger.ExchangerFlueGasesMetal.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (23,317)} Notification: Performance of prepare postOptimizeDAE: time 0.001707/3.167, allocations: 0.9319 MB / 1.171 GB, free: 56.12 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006128/3.168, allocations: 264.6 kB / 1.171 GB, free: 55.86 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03185/3.2, allocations: 15.2 MB / 1.186 GB, free: 40.56 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03136/3.231, allocations: 13.54 MB / 1.199 GB, free: 26.95 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/3.231, allocations: 3.375 kB / 1.199 GB, free: 26.95 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.402e-05/3.231, allocations: 27.91 kB / 1.199 GB, free: 26.92 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05388/3.285, allocations: 23.95 MB / 1.223 GB, free: 2.961 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-05/3.285, allocations: 8 kB / 1.223 GB, free: 2.953 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/3.288, allocations: 0.8141 MB / 1.223 GB, free: 2.164 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02383/3.312, allocations: 6.648 MB / 1.23 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007803/3.313, allocations: 159.8 kB / 1.23 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2176/3.531, allocations: 28.7 MB / 1.258 GB, free: 453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/3.531, allocations: 2.969 kB / 1.258 GB, free: 453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05568/3.586, allocations: 20.56 MB / 1.278 GB, free: 452.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/3.589, allocations: 1.2 MB / 1.279 GB, free: 452.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004882/3.589, allocations: 98.98 kB / 1.279 GB, free: 452.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003943/3.593, allocations: 0.6821 MB / 1.28 GB, free: 452.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007923/3.594, allocations: 353.8 kB / 1.28 GB, free: 452.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003445/3.595, allocations: 176.1 kB / 1.281 GB, free: 452.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000819/3.595, allocations: 0.7401 MB / 1.281 GB, free: 451.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/3.595, allocations: 0 / 1.281 GB, free: 451.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.006701/3.602, allocations: 2.955 MB / 1.284 GB, free: 451.5 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (dynamicMultiFluidHeatExchanger.ExchangerWall.Tp[1],dynamicMultiFluidHeatExchanger.ExchangerWall.Tp[2],dynamicMultiFluidHeatExchanger.ExchangerWall.Tp[3],dynamicMultiFluidHeatExchanger.ExchangerWall.Tp[4],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[2],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[3],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[4],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[5],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.h[2],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.h[3],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.h[4],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.h[5]) * 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 (310): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 11 systems {(1,8), (1,8), (1,15), (1,8), (1,15), (1,8), (1,15), (1,15), (1,15), (1,1), (8,60)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007531/3.61, allocations: 2.951 MB / 1.287 GB, free: 451.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0228/3.632, allocations: 11.38 MB / 1.298 GB, free: 446.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/3.632, allocations: 0 / 1.298 GB, free: 446.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01304/3.646, allocations: 6.972 MB / 1.305 GB, free: 440.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005331/3.651, allocations: 1.081 MB / 1.306 GB, free: 440 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/3.681, allocations: 15.74 MB / 1.321 GB, free: 424.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/3.683, allocations: 2.514 MB / 1.324 GB, free: 421.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/3.684, allocations: 230.2 kB / 1.324 GB, free: 421.7 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/3.684, allocations: 4 kB / 1.324 GB, free: 421.7 MB / 0.8262 GB Notification: Performance of Templates: time 0.1497/3.834, allocations: 199.8 MB / 1.519 GB, free: 222.8 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchangerCalcHelperMain.o] Error 1