Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.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.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6795/0.6795, allocations: 150.8 MB / 166.7 MB, free: 15.19 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 8.636e-06/8.646e-06, allocations: 0 / 205.4 MB, free: 9.676 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 31.97 MB / 237.4 MB, free: 5.375 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.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser): time 1.288/1.405, allocations: 300.8 MB / 0.5256 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3968/1.801, allocations: 200.8 MB / 0.7217 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009872/1.802, allocations: 37.5 kB / 0.7218 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000829/1.803, allocations: 490.4 kB / 0.7222 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/1.805, allocations: 1.104 MB / 0.7233 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02509/1.83, allocations: 12.4 MB / 0.7354 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004207/1.834, allocations: 6.3 MB / 0.7416 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/1.837, allocations: 2.087 MB / 0.7436 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/1.839, allocations: 1.651 MB / 0.7452 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/1.841, allocations: 2.21 MB / 0.7474 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002968/1.842, allocations: 188.5 kB / 0.7476 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02803/1.87, allocations: 21.5 MB / 0.7686 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001075/1.871, allocations: 1.169 MB / 0.7697 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001967/1.873, allocations: 1.892 MB / 0.7716 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01323/1.886, allocations: 11.67 MB / 0.7829 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/1.886, allocations: 0 / 0.7829 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.995e-06/1.886, allocations: 3.984 kB / 0.7829 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.885e-05/1.886, allocations: 0 / 0.7829 GB, free: 5.914 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: 920 * Number of variables: 920 Notification: Performance of Generate backend data structure: time 0.01142/1.898, allocations: 4.944 MB / 0.7878 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/1.898, allocations: 8.031 kB / 0.7878 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005511/1.898, allocations: 426.9 kB / 0.7882 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/1.9, allocations: 1.903 MB / 0.7901 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/1.901, allocations: 442.1 kB / 0.7905 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004576/1.901, allocations: 339.6 kB / 0.7908 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00665/1.908, allocations: 5.143 MB / 0.7958 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/1.908, allocations: 9.812 kB / 0.7958 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/1.908, allocations: 140 kB / 0.796 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-05/1.908, allocations: 108 kB / 0.7961 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008663/1.917, allocations: 6.949 MB / 0.8029 GB, free: 2.734 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.0865/2.003, allocations: 56.64 MB / 0.8582 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008936/2.012, allocations: 3.81 MB / 0.8619 GB, free: 2.055 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002793/2.015, allocations: 2.089 MB / 0.8639 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8588/2.874, allocations: 452.2 MB / 1.306 GB, free: 97.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003347/2.877, allocations: 2.33 MB / 1.308 GB, free: 96.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=317): time 3.607e-06/2.877, allocations: 0 / 1.308 GB, free: 96.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=318): time 0.03745/2.915, allocations: 17.02 MB / 1.324 GB, free: 81.12 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/2.915, allocations: 188.2 kB / 1.325 GB, free: 80.89 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/2.917, allocations: 1.948 MB / 1.327 GB, free: 78.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/2.917, allocations: 69.7 kB / 1.327 GB, free: 78.83 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000622/2.917, allocations: 1.389 MB / 1.328 GB, free: 77.44 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005483/2.918, allocations: 1.099 MB / 1.329 GB, free: 76.35 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/2.918, allocations: 329.6 kB / 1.329 GB, free: 76.02 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 2.926e-05/2.918, allocations: 301.1 kB / 1.33 GB, free: 75.72 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/2.921, allocations: 1.869 MB / 1.331 GB, free: 73.85 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002716/2.923, allocations: 2.828 MB / 1.334 GB, free: 70.62 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005319/2.929, allocations: 4.981 MB / 1.339 GB, free: 65.21 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/2.929, allocations: 8 kB / 1.339 GB, free: 65.21 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01025/2.939, allocations: 6.997 MB / 1.346 GB, free: 58.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/2.939, allocations: 17.09 kB / 1.346 GB, free: 58.14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/2.939, allocations: 32 kB / 1.346 GB, free: 58.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05923/2.998, allocations: 10.88 MB / 1.357 GB, free: 47.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009532/2.999, allocations: 399.2 kB / 1.357 GB, free: 46.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008374/3.008, allocations: 8.816 MB / 1.366 GB, free: 37.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/3.01, allocations: 159.9 kB / 1.366 GB, free: 37.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/3.01, allocations: 175.9 kB / 1.366 GB, free: 37.61 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.PressureLoss_VapeurIn1.touvert,$whenCondition2,$PRE.PressureLoss_VapeurIn1.tferme,$whenCondition1,Source_vapeur.C.ftype,Source_Eau.C.ftype,Source_Vsup1.C.ftype,DynamicCondenser.DynamicCondenser.Cl.ftype,DynamicCondenser.C1.ftype,DynamicCondenser.DynamicCondenser.fluids[1],Puit_condenseur1.fluid,DynamicCondenser.pipe_3.fluid,PressureLoss_VapeurIn.fluid,Valve_ext.fluid,PressureLoss_VapeurIn_in4.fluid,PressureLoss_EauOut.fluid,PressureLoss_VapeurIn1.tferme,PressureLoss_VapeurIn1.touvert,PressureLoss_VapeurIn1.ouvert,$PRE.PressureLoss_VapeurIn1.ouvert,Puit_Eau.fluid,Source_Vsup1.fluid1,Source_vapeur.fluid1,Source_Eau.fluid1,DynamicCondenser.DynamicCondenser.CvBP.diff_on_2,PressureLoss_VapeurIn.C2.diff_on_2,Source_vapeur.C.diff_on_2,PressureLoss_VapeurIn.C2.diff_on_1,DynamicCondenser.C1vap.diff_on_1,DynamicCondenser.Ce2.diff_on_2,DynamicCondenser.pipe_3.C2.diff_on_1,PressureLoss_EauOut.C2.diff_on_1,DynamicCondenser.C2vap.diff_on_1,DynamicCondenser.DynamicCondenser.CvGCT.diff_on_2,Source_Vsup1.C.diff_on_2,DynamicCondenser.C2ex.diff_on_2,DynamicCondenser.DynamicCondenser.Cl.diff_on_1,Valve_ext.C2.diff_on_1,DynamicCondenser.C1.diff_on_1,DynamicCondenser.pipe_3.C1.diff_on_2,DynamicCondenser.DynamicCondenser.Ce.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 6 systems {(1,3), (1,7), (17,114), (1,3), (1,3), (6,34)} Notification: Performance of prepare postOptimizeDAE: time 0.001093/3.011, allocations: 0.8227 MB / 1.367 GB, free: 36.79 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/3.011, allocations: 276 kB / 1.367 GB, free: 36.52 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/3.027, allocations: 7.048 MB / 1.374 GB, free: 29.43 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01286/3.04, allocations: 5.782 MB / 1.379 GB, free: 23.58 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/3.04, allocations: 4 kB / 1.379 GB, free: 23.58 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/3.04, allocations: 15.95 kB / 1.38 GB, free: 23.56 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/3.058, allocations: 10.8 MB / 1.39 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/3.059, allocations: 0 / 1.39 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/3.06, allocations: 419.5 kB / 1.39 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02412/3.084, allocations: 4.558 MB / 1.395 GB, free: 7.641 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/3.084, allocations: 99.92 kB / 1.395 GB, free: 7.543 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.154/3.238, allocations: 19.38 MB / 1.414 GB, free: 416.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/3.238, allocations: 2.25 kB / 1.414 GB, free: 416.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/3.257, allocations: 8.906 MB / 1.423 GB, free: 416.4 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/3.258, allocations: 0.7592 MB / 1.423 GB, free: 416.3 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/3.258, allocations: 61.5 kB / 1.423 GB, free: 416.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/3.26, allocations: 114.6 kB / 1.424 GB, free: 416.3 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/3.26, allocations: 212.3 kB / 1.424 GB, free: 416.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/3.26, allocations: 110.3 kB / 1.424 GB, free: 416.3 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001308/3.262, allocations: 1.257 MB / 1.425 GB, free: 416.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/3.262, allocations: 0 / 1.425 GB, free: 416.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005238/3.267, allocations: 2.584 MB / 1.428 GB, free: 416.1 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (DynamicCondenser.DynamicCondenser.P,DynamicCondenser.DynamicCondenser.hl,DynamicCondenser.DynamicCondenser.hv,DynamicCondenser.DynamicCondenser.hvIn,DynamicCondenser.DynamicCondenser.Vv,DynamicCondenser.DynamicCondenser.Tp,DynamicCondenser.pipe_3.h[2],DynamicCondenser.pipe_3.h[3],DynamicCondenser.pipe_3.h[4],DynamicCondenser.pipe_3.h[5],DynamicCondenser.pipe_3.h[6],DynamicCondenser.Wall_3.Tp[1],DynamicCondenser.Wall_3.Tp[2],DynamicCondenser.Wall_3.Tp[3],DynamicCondenser.Wall_3.Tp[4],DynamicCondenser.Wall_3.Tp[5]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,PressureLoss_VapeurIn1.ouvert,PressureLoss_VapeurIn1.touvert,PressureLoss_VapeurIn1.tferme,DynamicCondenser.C1vap.diff_on_1) * Number of discrete states: 2 (PressureLoss_VapeurIn1.touvert,PressureLoss_VapeurIn1.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(4,1,62.5%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 16 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (1,3), (1,3), (1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005806/3.273, allocations: 3.025 MB / 1.431 GB, free: 415.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008285/3.281, allocations: 5.207 MB / 1.436 GB, free: 415.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/3.281, allocations: 0.5312 kB / 1.436 GB, free: 415.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004401/3.285, allocations: 3.227 MB / 1.439 GB, free: 414.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/3.288, allocations: 0.6552 MB / 1.439 GB, free: 414.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008879/3.297, allocations: 9.388 MB / 1.449 GB, free: 410.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/3.298, allocations: 2.083 MB / 1.451 GB, free: 410.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/3.299, allocations: 233 kB / 1.451 GB, free: 410.1 MB / 0.795 GB Notification: Performance of SimCode: time 3.7e-07/3.299, allocations: 4 kB / 1.451 GB, free: 410.1 MB / 0.795 GB Notification: Performance of Templates: time 0.2923/3.591, allocations: 244.2 MB / 1.689 GB, free: 423.7 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.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.Book.SimpleExamples.HeatExchanger.TestDynamicCondenserCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenserCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenserCalcHelperMain.o] Error 1