Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.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.TestDynamicMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7382/0.7382, allocations: 150.8 MB / 166.7 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.32e-05/1.347e-05, allocations: 4 kB / 205.4 MB, free: 9.781 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1419, allocations: 31.98 MB / 237.4 MB, free: 5.461 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.TestDynamicMultiFluidHeatExchanger): time 1.427/1.569, allocations: 297.1 MB / 0.5219 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4683/2.037, allocations: 195.4 MB / 0.7127 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004679/2.038, allocations: 27.81 kB / 0.7127 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003356/2.038, allocations: 200.1 kB / 0.7129 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001106/2.039, allocations: 0.7968 MB / 0.7137 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02728/2.067, allocations: 11.32 MB / 0.7248 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004681/2.071, allocations: 6.249 MB / 0.7309 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/2.073, allocations: 1.6 MB / 0.7324 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/2.074, allocations: 1.358 MB / 0.7338 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/2.076, allocations: 2.028 MB / 0.7357 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002916/2.076, allocations: 168.1 kB / 0.7359 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03421/2.111, allocations: 23.2 MB / 0.7585 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/2.112, allocations: 1.112 MB / 0.7596 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001834/2.114, allocations: 1.468 MB / 0.7611 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01694/2.131, allocations: 11.32 MB / 0.7721 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/2.131, allocations: 0 / 0.7721 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.983e-06/2.131, allocations: 0 / 0.7721 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001432/2.131, allocations: 4 kB / 0.7721 GB, free: 9.48 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: 662 * Number of variables: 662 Notification: Performance of Generate backend data structure: time 0.01362/2.145, allocations: 4.213 MB / 0.7762 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/2.145, allocations: 12.03 kB / 0.7762 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/2.146, allocations: 297.3 kB / 0.7765 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/2.149, allocations: 1.563 MB / 0.7781 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003981/2.149, allocations: 439.1 kB / 0.7785 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/2.15, allocations: 246.1 kB / 0.7787 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007003/2.157, allocations: 4.422 MB / 0.783 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/2.157, allocations: 3.984 kB / 0.783 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/2.157, allocations: 101.9 kB / 0.7831 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/2.157, allocations: 68 kB / 0.7832 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/2.168, allocations: 7.893 MB / 0.7909 GB, free: 10.18 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.1882/2.356, allocations: 112.4 MB / 0.9007 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/2.368, allocations: 5.3 MB / 0.9059 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004327/2.373, allocations: 2.361 MB / 0.9082 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7579/3.131, allocations: 364.2 MB / 1.264 GB, free: 136.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/3.131, allocations: 65.91 kB / 1.264 GB, free: 136.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=324): time 5.16e-06/3.131, allocations: 4 kB / 1.264 GB, free: 136.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=324): time 0.01651/3.147, allocations: 8.188 MB / 1.272 GB, free: 130.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/3.147, allocations: 85.95 kB / 1.272 GB, free: 130.2 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/3.149, allocations: 0.9945 MB / 1.273 GB, free: 129.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003079/3.149, allocations: 73.7 kB / 1.273 GB, free: 129.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/3.149, allocations: 0.7317 MB / 1.274 GB, free: 128.4 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007995/3.15, allocations: 1.107 MB / 1.275 GB, free: 127.3 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004192/3.15, allocations: 251.9 kB / 1.275 GB, free: 127.1 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.448e-05/3.151, allocations: 305.1 kB / 1.275 GB, free: 126.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/3.154, allocations: 1.915 MB / 1.277 GB, free: 124.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003202/3.157, allocations: 2.411 MB / 1.28 GB, free: 122.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/3.163, allocations: 4.664 MB / 1.284 GB, free: 117.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/3.163, allocations: 2.188 kB / 1.284 GB, free: 117.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01138/3.175, allocations: 6.881 MB / 1.291 GB, free: 110.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/3.175, allocations: 8 kB / 1.291 GB, free: 110.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/3.175, allocations: 12 kB / 1.291 GB, free: 110.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04424/3.219, allocations: 10.01 MB / 1.301 GB, free: 100.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/3.22, allocations: 203.7 kB / 1.301 GB, free: 100.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/3.233, allocations: 7.941 MB / 1.309 GB, free: 92.38 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/3.235, allocations: 313 kB / 1.309 GB, free: 92.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004/3.236, allocations: 152.7 kB / 1.309 GB, free: 91.92 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,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_2.fluid,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_1.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_1.C1.diff_on_2,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_1.C2.diff_on_1,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_2.C1.diff_on_2,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_2.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,251)} Notification: Performance of prepare postOptimizeDAE: time 0.001277/3.237, allocations: 0.6752 MB / 1.31 GB, free: 91.24 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/3.238, allocations: 205.8 kB / 1.31 GB, free: 91.04 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/3.252, allocations: 7.823 MB / 1.318 GB, free: 83.19 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/3.252, allocations: 28 kB / 1.318 GB, free: 83.16 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/3.252, allocations: 0 / 1.318 GB, free: 83.16 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/3.252, allocations: 15.94 kB / 1.318 GB, free: 83.15 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/3.27, allocations: 12.12 MB / 1.329 GB, free: 71 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/3.27, allocations: 5.062 kB / 1.329 GB, free: 71 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/3.271, allocations: 111.9 kB / 1.33 GB, free: 70.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04125/3.312, allocations: 8.743 MB / 1.338 GB, free: 62.24 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000518/3.312, allocations: 96.94 kB / 1.338 GB, free: 62.14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/3.323, allocations: 7.769 MB / 1.346 GB, free: 54.29 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/3.323, allocations: 0 / 1.346 GB, free: 54.29 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/3.334, allocations: 6.517 MB / 1.352 GB, free: 47.71 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/3.336, allocations: 0.814 MB / 1.353 GB, free: 46.88 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/3.336, allocations: 55.98 kB / 1.353 GB, free: 46.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/3.338, allocations: 119.3 kB / 1.353 GB, free: 46.71 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/3.338, allocations: 190.2 kB / 1.353 GB, free: 46.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/3.338, allocations: 119.9 kB / 1.353 GB, free: 46.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000735/3.339, allocations: 0.6793 MB / 1.354 GB, free: 45.71 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.9e-07/3.339, allocations: 0 / 1.354 GB, free: 45.71 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005778/3.345, allocations: 2.634 MB / 1.357 GB, free: 43.3 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.008629/3.354, allocations: 3.081 MB / 1.36 GB, free: 40.61 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008458/3.362, allocations: 4.921 MB / 1.364 GB, free: 35.66 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/3.362, allocations: 3.719 kB / 1.364 GB, free: 35.66 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004596/3.367, allocations: 2.633 MB / 1.367 GB, free: 33.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/3.369, allocations: 451.3 kB / 1.367 GB, free: 32.61 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008091/3.377, allocations: 6.437 MB / 1.374 GB, free: 26.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/3.378, allocations: 1.699 MB / 1.375 GB, free: 24.43 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/3.378, allocations: 131.4 kB / 1.376 GB, free: 24.3 MB / 0.795 GB Notification: Performance of SimCode: time 5.61e-07/3.378, allocations: 0 / 1.376 GB, free: 24.3 MB / 0.795 GB Notification: Performance of Templates: time 0.2411/3.619, allocations: 68.51 MB / 1.442 GB, free: 413.2 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.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.TestDynamicMultiFluidHeatExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerCalcHelperMain.o] Error 1