Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.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.TestDiffusion_DynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8842/0.8842, allocations: 150.8 MB / 166.6 MB, free: 14.67 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 15.97 kB / 204.7 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2168, allocations: 31.33 MB / 236 MB, free: 5.457 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger): time 1.875/2.092, allocations: 294.6 MB / 0.5182 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.702/2.794, allocations: 195.8 MB / 0.7094 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006882/2.795, allocations: 18.69 kB / 0.7094 GB, free: 3.41 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicPlateHeatExchanger.mo:227:3-228:54:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicPlateHeatExchanger.mo:229:3-230:54:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicPlateHeatExchanger.mo:231:3-232:52:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicPlateHeatExchanger.mo:233:3-234:52:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004445/2.795, allocations: 127.3 kB / 0.7096 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009594/2.796, allocations: 0.5173 MB / 0.7101 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03548/2.832, allocations: 10.56 MB / 0.7204 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007096/2.839, allocations: 7.549 MB / 0.7277 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004312/2.843, allocations: 2.092 MB / 0.7298 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/2.848, allocations: 1.943 MB / 0.7317 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005716/2.854, allocations: 2.993 MB / 0.7346 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001816/2.855, allocations: 296.8 kB / 0.7349 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05177/2.907, allocations: 22.71 MB / 0.7571 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00408/2.911, allocations: 1.679 MB / 0.7587 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005092/2.916, allocations: 1.955 MB / 0.7606 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02657/2.943, allocations: 11.54 MB / 0.7719 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/2.943, allocations: 3.75 kB / 0.7719 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/2.943, allocations: 0 / 0.7719 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001804/2.943, allocations: 0 / 0.7719 GB, free: 6.75 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: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.02638/2.97, allocations: 5.772 MB / 0.7775 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/2.97, allocations: 11.88 kB / 0.7775 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/2.971, allocations: 348.1 kB / 0.7779 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003665/2.975, allocations: 1.786 MB / 0.7796 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/2.975, allocations: 308.5 kB / 0.7799 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008688/2.976, allocations: 332.4 kB / 0.7802 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01782/2.994, allocations: 6.712 MB / 0.7868 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-05/2.994, allocations: 0 / 0.7868 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000724/2.995, allocations: 144 kB / 0.7869 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-05/2.995, allocations: 87.94 kB / 0.787 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03158/3.027, allocations: 17.66 MB / 0.8042 GB, free: 7.105 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.134/3.161, allocations: 53.66 MB / 0.8566 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01549/3.176, allocations: 7.469 MB / 0.8639 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009432/3.186, allocations: 3.83 MB / 0.8677 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7631/3.949, allocations: 256.5 MB / 1.118 GB, free: 330.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/3.949, allocations: 90.03 kB / 1.118 GB, free: 330.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=590): time 8.296e-06/3.949, allocations: 4 kB / 1.118 GB, free: 330.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=590): time 0.03293/3.982, allocations: 14.71 MB / 1.133 GB, free: 320.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/3.982, allocations: 112 kB / 1.133 GB, free: 320 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/3.984, allocations: 0.9898 MB / 1.134 GB, free: 319.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0008198/3.984, allocations: 119.2 kB / 1.134 GB, free: 319.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004589/3.985, allocations: 0.7133 MB / 1.135 GB, free: 318.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001791/3.987, allocations: 1.997 MB / 1.136 GB, free: 316.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001594/3.988, allocations: 1.092 MB / 1.138 GB, free: 315.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001191/3.988, allocations: 365.9 kB / 1.138 GB, free: 315.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005427/3.994, allocations: 3.375 MB / 1.141 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005971/4, allocations: 4.111 MB / 1.145 GB, free: 307.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/4.013, allocations: 7.936 MB / 1.153 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-05/4.013, allocations: 8 kB / 1.153 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.02251/4.035, allocations: 12.28 MB / 1.165 GB, free: 287.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/4.035, allocations: 12 kB / 1.165 GB, free: 287.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.312e-05/4.035, allocations: 12 kB / 1.165 GB, free: 287.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0798/4.115, allocations: 22.72 MB / 1.187 GB, free: 264.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/4.117, allocations: 292.4 kB / 1.187 GB, free: 264.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02834/4.145, allocations: 14.36 MB / 1.201 GB, free: 249.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/4.149, allocations: 0.5887 MB / 1.202 GB, free: 249.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005522/4.15, allocations: 283.8 kB / 1.202 GB, free: 248.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,echangeurAPlaques1D.fluid_c,echangeurAPlaques1D.fluid_f,puitsP.fluid,puitsP1.fluid,sourceP1.fluid1,sourceP.fluid1,echangeurAPlaques1D.Ef.diff_on_2,echangeurAPlaques1D.Sf.diff_on_1,echangeurAPlaques1D.Ec.diff_on_2,echangeurAPlaques1D.Sc.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(60,460), (2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001836/4.152, allocations: 0.8048 MB / 1.203 GB, free: 248 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008857/4.153, allocations: 289.4 kB / 1.203 GB, free: 247.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02799/4.181, allocations: 13.6 MB / 1.217 GB, free: 234.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001281/4.181, allocations: 56 kB / 1.217 GB, free: 234.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/4.181, allocations: 3.562 kB / 1.217 GB, free: 234.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001133/4.181, allocations: 27.89 kB / 1.217 GB, free: 234 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04615/4.227, allocations: 20.45 MB / 1.237 GB, free: 213.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.426e-05/4.227, allocations: 0 / 1.237 GB, free: 213.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/4.228, allocations: 158 kB / 1.237 GB, free: 213.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07366/4.302, allocations: 19.89 MB / 1.256 GB, free: 193.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002137/4.304, allocations: 195.9 kB / 1.256 GB, free: 193.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02692/4.331, allocations: 14.14 MB / 1.27 GB, free: 179.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/4.331, allocations: 0 / 1.27 GB, free: 179.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02732/4.358, allocations: 12.09 MB / 1.282 GB, free: 166.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003622/4.362, allocations: 1.207 MB / 1.283 GB, free: 165.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009566/4.363, allocations: 96 kB / 1.283 GB, free: 165.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003397/4.366, allocations: 255.8 kB / 1.284 GB, free: 165.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008073/4.367, allocations: 391.6 kB / 1.284 GB, free: 164.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000447/4.367, allocations: 243.8 kB / 1.284 GB, free: 164.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008411/4.368, allocations: 0.6497 MB / 1.285 GB, free: 164 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/4.368, allocations: 0 / 1.285 GB, free: 164 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01103/4.379, allocations: 2.991 MB / 1.288 GB, free: 161.3 MB / 0.8106 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 (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(60,463), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01299/4.392, allocations: 3.04 MB / 1.291 GB, free: 158.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02866/4.421, allocations: 9.332 MB / 1.3 GB, free: 149.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/4.421, allocations: 0 / 1.3 GB, free: 149.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01879/4.44, allocations: 5.234 MB / 1.305 GB, free: 144.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006531/4.447, allocations: 0.6271 MB / 1.306 GB, free: 143.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06191/4.508, allocations: 12.77 MB / 1.318 GB, free: 130.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/4.511, allocations: 1.933 MB / 1.32 GB, free: 128.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006754/4.511, allocations: 159.4 kB / 1.32 GB, free: 128.8 MB / 0.8106 GB Notification: Performance of SimCode: time 1.843e-06/4.511, allocations: 0 / 1.32 GB, free: 128.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.1374/4.649, allocations: 86.34 MB / 1.404 GB, free: 42.84 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.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.TestDiffusion_DynamicPlateHeatExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchangerCalcHelperMain.o] Error 1