Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.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.TestDynamicMultiFluidHeatExchangerShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7239/0.7239, allocations: 150.8 MB / 166.7 MB, free: 15.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.314e-05/1.315e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1418, allocations: 31.97 MB / 237.4 MB, free: 5.402 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.TestDynamicMultiFluidHeatExchangerShell): time 1.422/1.564, allocations: 297.1 MB / 0.522 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.447/2.011, allocations: 195.4 MB / 0.7128 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000487/2.012, allocations: 26.22 kB / 0.7128 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003315/2.012, allocations: 196.4 kB / 0.713 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001099/2.013, allocations: 0.8033 MB / 0.7138 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02503/2.038, allocations: 11.32 MB / 0.7249 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004355/2.043, allocations: 6.258 MB / 0.731 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/2.044, allocations: 1.607 MB / 0.7325 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/2.046, allocations: 1.372 MB / 0.7339 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/2.048, allocations: 2.046 MB / 0.7359 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003319/2.049, allocations: 171 kB / 0.736 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03418/2.083, allocations: 23.2 MB / 0.7587 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001131/2.084, allocations: 1.113 MB / 0.7598 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001911/2.086, allocations: 1.469 MB / 0.7612 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01726/2.103, allocations: 11.33 MB / 0.7723 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/2.103, allocations: 0 / 0.7723 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.494e-06/2.103, allocations: 0 / 0.7723 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.465e-05/2.103, allocations: 1.75 kB / 0.7723 GB, free: 9.496 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: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.01261/2.116, allocations: 4.182 MB / 0.7764 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/2.116, allocations: 8.031 kB / 0.7764 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006466/2.117, allocations: 296.8 kB / 0.7767 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/2.119, allocations: 1.549 MB / 0.7782 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/2.119, allocations: 318.8 kB / 0.7785 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004007/2.12, allocations: 245 kB / 0.7787 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00667/2.126, allocations: 4.424 MB / 0.783 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/2.126, allocations: 2.906 kB / 0.783 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/2.127, allocations: 113.6 kB / 0.7831 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/2.127, allocations: 60 kB / 0.7832 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/2.137, allocations: 7.913 MB / 0.7909 GB, free: 10.27 MB / 0.6075 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.1824/2.32, allocations: 112.5 MB / 0.9007 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008362/2.328, allocations: 5.058 MB / 0.9057 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003561/2.332, allocations: 2.374 MB / 0.908 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7342/3.066, allocations: 364.2 MB / 1.264 GB, free: 137.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/3.066, allocations: 79.48 kB / 1.264 GB, free: 137.2 MB / 0.795 GB Notification: Performance of pre-optimization done (n=319): time 5.009e-06/3.066, allocations: 0 / 1.264 GB, free: 137.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=319): time 0.01577/3.082, allocations: 8.208 MB / 1.272 GB, free: 130.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/3.082, allocations: 112.6 kB / 1.272 GB, free: 130.7 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/3.083, allocations: 1.006 MB / 1.273 GB, free: 129.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002148/3.083, allocations: 85.69 kB / 1.273 GB, free: 129.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/3.083, allocations: 0.7344 MB / 1.274 GB, free: 128.9 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006677/3.084, allocations: 1.082 MB / 1.275 GB, free: 127.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003255/3.084, allocations: 247.8 kB / 1.275 GB, free: 127.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.311e-05/3.084, allocations: 309 kB / 1.275 GB, free: 127.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/3.087, allocations: 1.927 MB / 1.277 GB, free: 125.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/3.09, allocations: 2.41 MB / 1.279 GB, free: 122.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005999/3.096, allocations: 4.664 MB / 1.284 GB, free: 117.9 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/3.096, allocations: 4 kB / 1.284 GB, free: 117.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01257/3.109, allocations: 7.167 MB / 1.291 GB, free: 110.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/3.109, allocations: 12.56 kB / 1.291 GB, free: 110.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/3.109, allocations: 14.66 kB / 1.291 GB, free: 110.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0473/3.156, allocations: 10.08 MB / 1.301 GB, free: 100.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/3.157, allocations: 207.7 kB / 1.301 GB, free: 100.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/3.169, allocations: 7.945 MB / 1.309 GB, free: 92.51 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/3.171, allocations: 313 kB / 1.309 GB, free: 92.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002432/3.171, allocations: 147.9 kB / 1.309 GB, free: 92.06 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,sinkP.fluid,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.fluid,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.C2.diff_on_1,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.C1.diff_on_2,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(22,246)} Notification: Performance of prepare postOptimizeDAE: time 0.00106/3.172, allocations: 0.6713 MB / 1.31 GB, free: 91.38 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/3.172, allocations: 204.5 kB / 1.31 GB, free: 91.18 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/3.188, allocations: 8.232 MB / 1.318 GB, free: 82.94 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/3.188, allocations: 32 kB / 1.318 GB, free: 82.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/3.188, allocations: 3.984 kB / 1.318 GB, free: 82.91 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/3.188, allocations: 15.95 kB / 1.318 GB, free: 82.89 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/3.206, allocations: 12.39 MB / 1.33 GB, free: 70.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/3.206, allocations: 0 / 1.33 GB, free: 70.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/3.206, allocations: 107.8 kB / 1.33 GB, free: 70.38 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04533/3.252, allocations: 8.88 MB / 1.339 GB, free: 61.61 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007809/3.253, allocations: 96.95 kB / 1.339 GB, free: 61.51 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/3.266, allocations: 7.875 MB / 1.347 GB, free: 53.55 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/3.266, allocations: 0 / 1.347 GB, free: 53.55 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/3.277, allocations: 6.748 MB / 1.353 GB, free: 46.75 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/3.278, allocations: 0.8082 MB / 1.354 GB, free: 45.92 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/3.279, allocations: 52 kB / 1.354 GB, free: 45.87 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/3.28, allocations: 131.7 kB / 1.354 GB, free: 45.74 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/3.281, allocations: 190.7 kB / 1.355 GB, free: 45.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/3.281, allocations: 116.8 kB / 1.355 GB, free: 45.44 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006954/3.282, allocations: 0.6871 MB / 1.355 GB, free: 44.74 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/3.282, allocations: 0 / 1.355 GB, free: 44.74 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005158/3.287, allocations: 2.635 MB / 1.358 GB, free: 42.33 MB / 0.795 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(22,245)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006855/3.294, allocations: 3.085 MB / 1.361 GB, free: 39.63 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008858/3.302, allocations: 4.928 MB / 1.366 GB, free: 34.67 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/3.302, allocations: 0.8125 kB / 1.366 GB, free: 34.67 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.005262/3.308, allocations: 2.736 MB / 1.368 GB, free: 31.93 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/3.31, allocations: 447.8 kB / 1.369 GB, free: 31.52 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007679/3.317, allocations: 6.457 MB / 1.375 GB, free: 25.04 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/3.318, allocations: 1.702 MB / 1.377 GB, free: 23.31 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/3.319, allocations: 119.4 kB / 1.377 GB, free: 23.19 MB / 0.795 GB Notification: Performance of SimCode: time 6.11e-07/3.319, allocations: 0 / 1.377 GB, free: 23.19 MB / 0.795 GB Notification: Performance of Templates: time 0.2433/3.562, allocations: 68.68 MB / 1.444 GB, free: 414.4 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.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.TestDynamicMultiFluidHeatExchangerShellCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShellCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShellCalcHelperMain.o] Error 1