Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger.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.TestDynamicWaterSteamMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7367/0.7367, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.479e-05/1.48e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 31.98 MB / 237.4 MB, free: 5.43 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.TestDynamicWaterSteamMultiFluidHeatExchanger): time 1.451/1.6, allocations: 298.1 MB / 0.5229 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4488/2.049, allocations: 200 MB / 0.7182 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/2.05, allocations: 24.19 kB / 0.7182 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000912/2.051, allocations: 333.2 kB / 0.7185 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002133/2.053, allocations: 0.9937 MB / 0.7195 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02917/2.083, allocations: 12.13 MB / 0.7313 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006488/2.089, allocations: 8.633 MB / 0.7398 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/2.092, allocations: 2.199 MB / 0.7419 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/2.094, allocations: 2.085 MB / 0.744 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/2.098, allocations: 2.851 MB / 0.7467 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004175/2.098, allocations: 223.4 kB / 0.747 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03742/2.136, allocations: 24.53 MB / 0.7709 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/2.137, allocations: 1.491 MB / 0.7724 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002903/2.14, allocations: 2.087 MB / 0.7744 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01837/2.159, allocations: 13.21 MB / 0.7873 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/2.159, allocations: 4 kB / 0.7873 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.024e-06/2.159, allocations: 0 / 0.7873 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.739e-05/2.159, allocations: 0 / 0.7873 GB, free: 1.504 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: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.01945/2.178, allocations: 6.097 MB / 0.7933 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/2.178, allocations: 12.03 kB / 0.7933 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009206/2.179, allocations: 403.5 kB / 0.7937 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/2.182, allocations: 1.947 MB / 0.7956 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001281/2.183, allocations: 1.215 MB / 0.7967 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006015/2.184, allocations: 304 kB / 0.797 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/2.198, allocations: 7.464 MB / 0.8043 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/2.198, allocations: 3.938 kB / 0.8043 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004334/2.199, allocations: 128 kB / 0.8044 GB, free: 208 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.671e-05/2.199, allocations: 116 kB / 0.8046 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/2.221, allocations: 11.5 MB / 0.8158 GB, free: 4.586 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.2023/2.423, allocations: 119.8 MB / 0.9327 GB, free: 156 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02071/2.444, allocations: 8.327 MB / 0.9409 GB, free: 7.75 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01031/2.454, allocations: 5.201 MB / 0.946 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8037/3.258, allocations: 417.8 MB / 1.354 GB, free: 39.62 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.613e-05/3.258, allocations: 78.31 kB / 1.354 GB, free: 39.56 MB / 0.795 GB Notification: Performance of pre-optimization done (n=654): time 8.816e-06/3.258, allocations: 4 kB / 1.354 GB, free: 39.56 MB / 0.795 GB Notification: Performance of matching and sorting (n=654): time 0.0395/3.298, allocations: 19.18 MB / 1.373 GB, free: 21.39 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/3.298, allocations: 102.8 kB / 1.373 GB, free: 21.28 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/3.299, allocations: 1.007 MB / 1.374 GB, free: 20.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004698/3.299, allocations: 97.7 kB / 1.374 GB, free: 20.16 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/3.3, allocations: 0.7899 MB / 1.375 GB, free: 19.39 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001293/3.301, allocations: 2.16 MB / 1.377 GB, free: 17.25 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00057/3.302, allocations: 422.1 kB / 1.377 GB, free: 16.83 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.326e-05/3.302, allocations: 301.1 kB / 1.378 GB, free: 16.53 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008245/3.31, allocations: 4.467 MB / 1.382 GB, free: 12.06 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008315/3.318, allocations: 5.128 MB / 1.387 GB, free: 6.758 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1867/3.505, allocations: 9.73 MB / 1.396 GB, free: 427.2 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/3.505, allocations: 4.969 kB / 1.396 GB, free: 427.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.03048/3.535, allocations: 15.27 MB / 1.411 GB, free: 426.9 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/3.535, allocations: 13.78 kB / 1.411 GB, free: 426.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.577e-05/3.536, allocations: 25 kB / 1.411 GB, free: 426.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07289/3.608, allocations: 22.26 MB / 1.433 GB, free: 426.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/3.609, allocations: 229.2 kB / 1.433 GB, free: 426.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0294/3.639, allocations: 17.84 MB / 1.451 GB, free: 412.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/3.643, allocations: 0.9563 MB / 1.452 GB, free: 411.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004044/3.644, allocations: 214 kB / 1.452 GB, free: 411.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,sinkP.fluid,dynamicMultiFluidHeatExchanger.ExchangerMultiFluids.fluid,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.C1.diff_on_2,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.C2.diff_on_1,dynamicMultiFluidHeatExchanger.ExchangerMultiFluids.C1.diff_on_2,dynamicMultiFluidHeatExchanger.ExchangerMultiFluids.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,372)} Notification: Performance of prepare postOptimizeDAE: time 0.00175/3.645, allocations: 1.015 MB / 1.453 GB, free: 410.3 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005714/3.646, allocations: 284.4 kB / 1.453 GB, free: 410 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02933/3.675, allocations: 17.31 MB / 1.47 GB, free: 392.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02501/3.7, allocations: 14.99 MB / 1.485 GB, free: 377.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/3.7, allocations: 0 / 1.485 GB, free: 377.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.593e-05/3.701, allocations: 27.84 kB / 1.485 GB, free: 377.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04486/3.745, allocations: 28.62 MB / 1.513 GB, free: 348.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.579e-05/3.745, allocations: 14.3 kB / 1.513 GB, free: 348.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/3.746, allocations: 298.2 kB / 1.513 GB, free: 348.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06802/3.814, allocations: 20.52 MB / 1.533 GB, free: 328 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001279/3.816, allocations: 163.8 kB / 1.533 GB, free: 327.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03018/3.846, allocations: 16.84 MB / 1.55 GB, free: 310.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/3.846, allocations: 4 kB / 1.55 GB, free: 310.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03632/3.882, allocations: 16.75 MB / 1.566 GB, free: 293.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/3.884, allocations: 1.325 MB / 1.567 GB, free: 292.6 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005966/3.885, allocations: 88 kB / 1.567 GB, free: 292.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004243/3.889, allocations: 0.6797 MB / 1.568 GB, free: 291.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006312/3.89, allocations: 343.6 kB / 1.568 GB, free: 291.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004173/3.89, allocations: 199.8 kB / 1.568 GB, free: 291.3 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009039/3.891, allocations: 0.7352 MB / 1.569 GB, free: 290.6 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.61e-07/3.891, allocations: 0 / 1.569 GB, free: 290.6 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006696/3.898, allocations: 3.157 MB / 1.572 GB, free: 287.6 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (159): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,371)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008478/3.906, allocations: 3.301 MB / 1.576 GB, free: 285 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02002/3.926, allocations: 11.81 MB / 1.587 GB, free: 272.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/3.926, allocations: 0 / 1.587 GB, free: 272.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01041/3.937, allocations: 6.237 MB / 1.593 GB, free: 266.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004874/3.942, allocations: 1.108 MB / 1.594 GB, free: 265.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/3.971, allocations: 15.61 MB / 1.609 GB, free: 249.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/3.973, allocations: 2.571 MB / 1.612 GB, free: 247.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004642/3.974, allocations: 159.4 kB / 1.612 GB, free: 247.1 MB / 0.795 GB Notification: Performance of SimCode: time 1.052e-06/3.974, allocations: 6.953 kB / 1.612 GB, free: 247.1 MB / 0.795 GB Notification: Performance of Templates: time 0.2747/4.248, allocations: 95.59 MB / 1.705 GB, free: 387.2 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger.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.TestDynamicWaterSteamMultiFluidHeatExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchangerCalcHelperMain.o] Error 1