Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.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.7002/0.7002, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.099e-05/1.1e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 31.99 MB / 237.4 MB, free: 5.434 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.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser): time 1.326/1.44, allocations: 298.9 MB / 0.5238 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0421/1.482, allocations: 41.43 MB / 0.5642 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/1.483, allocations: 15.94 kB / 0.5642 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007019/1.483, allocations: 445.9 kB / 0.5647 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/1.485, allocations: 0.847 MB / 0.5655 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01819/1.503, allocations: 8.438 MB / 0.5737 GB, free: 5.027 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004069/1.507, allocations: 5.057 MB / 0.5787 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/1.508, allocations: 1.491 MB / 0.5801 GB, free: 14.44 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/1.509, allocations: 1.397 MB / 0.5815 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/1.511, allocations: 1.732 MB / 0.5832 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002089/1.511, allocations: 120 kB / 0.5833 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.022/1.533, allocations: 16.21 MB / 0.5991 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007921/1.534, allocations: 0.8681 MB / 0.6 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001502/1.536, allocations: 1.537 MB / 0.6015 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008453/1.544, allocations: 8.508 MB / 0.6098 GB, free: 0 / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/1.544, allocations: 112 / 0.6098 GB, free: 16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/1.544, allocations: 3.938 kB / 0.6098 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.988e-05/1.544, allocations: 0 / 0.6098 GB, free: 15.99 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 801 * Number of variables: 801 Notification: Performance of Generate backend data structure: time 0.01034/1.555, allocations: 4.071 MB / 0.6138 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/1.555, allocations: 8.031 kB / 0.6138 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004219/1.555, allocations: 320 kB / 0.6141 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/1.557, allocations: 1.328 MB / 0.6154 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/1.557, allocations: 338.2 kB / 0.6157 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/1.557, allocations: 215.8 kB / 0.6159 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00531/1.563, allocations: 3.855 MB / 0.6197 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/1.563, allocations: 3.938 kB / 0.6197 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/1.563, allocations: 84 kB / 0.6198 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.661e-05/1.563, allocations: 115.9 kB / 0.6199 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005212/1.568, allocations: 3.565 MB / 0.6233 GB, free: 1.816 MB / 0.4981 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.01428/1.582, allocations: 15.09 MB / 0.6381 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008522/1.591, allocations: 3.326 MB / 0.6413 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/1.594, allocations: 2.36 MB / 0.6436 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3936/1.988, allocations: 145.1 MB / 0.7853 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003557/1.991, allocations: 2.549 MB / 0.7878 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=491): time 3.456e-06/1.991, allocations: 0 / 0.7878 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=492): time 0.04399/2.035, allocations: 18.82 MB / 0.8062 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/2.035, allocations: 99.11 kB / 0.8063 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009943/2.036, allocations: 1.207 MB / 0.8075 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/2.037, allocations: 61.7 kB / 0.8075 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/2.037, allocations: 0.7386 MB / 0.8082 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006683/2.038, allocations: 1.608 MB / 0.8098 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/2.038, allocations: 310.8 kB / 0.8101 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.501e-05/2.038, allocations: 309.1 kB / 0.8104 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/2.04, allocations: 1.853 MB / 0.8122 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/2.043, allocations: 2.254 MB / 0.8144 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005435/2.048, allocations: 4.601 MB / 0.8189 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/2.048, allocations: 4 kB / 0.8189 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.01238/2.061, allocations: 7.163 MB / 0.8259 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/2.061, allocations: 13.33 kB / 0.8259 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/2.061, allocations: 12 kB / 0.8259 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06122/2.122, allocations: 12.9 MB / 0.8385 GB, free: 99.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/2.122, allocations: 79.84 kB / 0.8386 GB, free: 99.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/2.133, allocations: 10.25 MB / 0.8486 GB, free: 88.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/2.135, allocations: 182.7 kB / 0.8488 GB, free: 88.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/2.135, allocations: 99.92 kB / 0.8489 GB, free: 88.54 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.PressureLoss_VapeurIn1.touvert,$whenCondition2,$PRE.PressureLoss_VapeurIn1.tferme,$whenCondition1,PressureLoss_VapeurIn1.tferme,PressureLoss_VapeurIn1.touvert,PressureLoss_VapeurIn1.ouvert,$PRE.PressureLoss_VapeurIn1.ouvert,PressureLoss_VapeurIn1.C1.a,PressureLoss_VapeurIn1.C2.b,PressureLoss_EauOut.C2.b,PressureLoss_EauOut.C1.a,Source_Vsup1.C.b,PressureLoss_VapeurIn_in4.C2.b,PressureLoss_VapeurIn_in4.C1.a,Valve_ext.C2.b,Valve_ext.C1.a,PressureLoss_VapeurIn.C2.b,PressureLoss_VapeurIn.C1.a,Puit_Eau.C.a,DynamicCondenser.pipe_3.C2.b,DynamicCondenser.pipe_3.C1.a,DynamicCondenser.DynamicCondenser.CvGCT.a,DynamicCondenser.DynamicCondenser.Ce.a,DynamicCondenser.DynamicCondenser.Cl.b,DynamicCondenser.DynamicCondenser.CvBP.a,Puit_condenseur1.C.a,Source_vapeur.C.b,Source_Eau.C.b,DynamicCondenser.C1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,9), (18,105), (1,3), (1,3), (1,3), (8,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0009245/2.136, allocations: 0.7512 MB / 0.8496 GB, free: 87.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/2.136, allocations: 228.9 kB / 0.8498 GB, free: 87.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/2.148, allocations: 9.15 MB / 0.8588 GB, free: 78.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009661/2.158, allocations: 7.22 MB / 0.8658 GB, free: 70.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/2.158, allocations: 15.88 kB / 0.8658 GB, free: 70.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/2.158, allocations: 19.92 kB / 0.8659 GB, free: 70.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02228/2.18, allocations: 15.38 MB / 0.8809 GB, free: 55.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/2.18, allocations: 11.98 kB / 0.8809 GB, free: 55.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00519/2.185, allocations: 1.249 MB / 0.8821 GB, free: 53.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02612/2.211, allocations: 5.888 MB / 0.8879 GB, free: 48.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/2.212, allocations: 111.9 kB / 0.888 GB, free: 47.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/2.225, allocations: 23.39 MB / 0.9108 GB, free: 23.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/2.225, allocations: 11.38 kB / 0.9108 GB, free: 23.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/2.24, allocations: 11.05 MB / 0.9216 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009582/2.241, allocations: 0.7816 MB / 0.9224 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/2.242, allocations: 79.98 kB / 0.9224 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/2.243, allocations: 207 kB / 0.9226 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/2.244, allocations: 266.6 kB / 0.9229 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/2.244, allocations: 127.9 kB / 0.923 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007646/2.245, allocations: 0.8669 MB / 0.9239 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/2.245, allocations: 0 / 0.9239 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003342/2.248, allocations: 1.929 MB / 0.9257 GB, free: 7.664 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 15 (DynamicCondenser.DynamicCondenser.P,DynamicCondenser.DynamicCondenser.hl,DynamicCondenser.DynamicCondenser.hv,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: 5 ($whenCondition2,$whenCondition1,PressureLoss_VapeurIn1.ouvert,PressureLoss_VapeurIn1.touvert,PressureLoss_VapeurIn1.tferme) * 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 (324): * Single equations (assignments): 288 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 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%), (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,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,3), (1,3), (1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003472/2.252, allocations: 1.843 MB / 0.9275 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.149/2.401, allocations: 7.745 MB / 0.9351 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/2.401, allocations: 0 / 0.9351 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00654/2.407, allocations: 4.555 MB / 0.9396 GB, free: 209.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005693/2.413, allocations: 1.27 MB / 0.9408 GB, free: 209.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/2.424, allocations: 10.86 MB / 0.9514 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/2.425, allocations: 2.436 MB / 0.9538 GB, free: 204.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/2.426, allocations: 169.2 kB / 0.9539 GB, free: 204.8 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/2.426, allocations: 4 kB / 0.954 GB, free: 204.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.3016/2.727, allocations: 283.9 MB / 1.231 GB, free: 132.2 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.makefile make -j1 -f ThermoSysPro_ThermoSysPro.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenserCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenserCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenserCalcHelperMain.o] Error 1