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.7256/0.7256, allocations: 150.8 MB / 166.7 MB, free: 15.7 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.313e-05/1.321e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 31.98 MB / 237.4 MB, free: 5.609 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.TestDiffusion_DynamicPlateHeatExchanger): time 1.421/1.557, allocations: 295.5 MB / 0.5205 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4412/1.998, allocations: 193.5 MB / 0.7094 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006189/1.999, allocations: 20.69 kB / 0.7094 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00038/1.999, allocations: 123.8 kB / 0.7095 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/2, allocations: 0.5087 MB / 0.71 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02487/2.025, allocations: 10.79 MB / 0.7206 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004919/2.03, allocations: 7.551 MB / 0.7279 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/2.032, allocations: 2.044 MB / 0.7299 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/2.033, allocations: 1.912 MB / 0.7318 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/2.036, allocations: 2.937 MB / 0.7347 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005248/2.037, allocations: 275.2 kB / 0.7349 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03279/2.07, allocations: 22.8 MB / 0.7572 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001837/2.072, allocations: 1.659 MB / 0.7588 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002473/2.074, allocations: 1.94 MB / 0.7607 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01671/2.091, allocations: 11.35 MB / 0.7718 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/2.091, allocations: 0 / 0.7718 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.916e-06/2.091, allocations: 0 / 0.7718 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.229e-05/2.091, allocations: 0 / 0.7718 GB, free: 8.148 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.01598/2.107, allocations: 4.992 MB / 0.7767 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/2.107, allocations: 8.031 kB / 0.7767 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008965/2.108, allocations: 348.2 kB / 0.777 GB, free: 3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/2.111, allocations: 1.79 MB / 0.7788 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/2.111, allocations: 316.5 kB / 0.7791 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000591/2.112, allocations: 330.8 kB / 0.7794 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009918/2.121, allocations: 6.711 MB / 0.7859 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.675e-05/2.122, allocations: 0 / 0.7859 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003952/2.122, allocations: 142.8 kB / 0.7861 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-05/2.122, allocations: 83.98 kB / 0.7862 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/2.142, allocations: 17.67 MB / 0.8034 GB, free: 11.71 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.1036/2.246, allocations: 53.95 MB / 0.8561 GB, free: 2.602 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/2.257, allocations: 7.465 MB / 0.8634 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006527/2.264, allocations: 3.827 MB / 0.8671 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.622/2.886, allocations: 258.8 MB / 1.12 GB, free: 303.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/2.886, allocations: 94.31 kB / 1.12 GB, free: 303.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=590): time 8.897e-06/2.886, allocations: 0 / 1.12 GB, free: 303.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=590): time 0.03022/2.916, allocations: 14.7 MB / 1.134 GB, free: 293.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/2.916, allocations: 112 kB / 1.134 GB, free: 293.2 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/2.917, allocations: 0.9969 MB / 1.135 GB, free: 292.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004054/2.918, allocations: 119.8 kB / 1.135 GB, free: 292 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/2.918, allocations: 0.712 MB / 1.136 GB, free: 291.3 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/2.919, allocations: 1.993 MB / 1.138 GB, free: 289.3 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/2.92, allocations: 437.5 kB / 1.139 GB, free: 288.9 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/2.92, allocations: 361.8 kB / 1.139 GB, free: 288.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004885/2.925, allocations: 3.375 MB / 1.142 GB, free: 285.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005211/2.93, allocations: 4.114 MB / 1.146 GB, free: 280.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/2.941, allocations: 7.937 MB / 1.154 GB, free: 272.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/2.941, allocations: 4 kB / 1.154 GB, free: 272.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01918/2.961, allocations: 12.29 MB / 1.166 GB, free: 260.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/2.961, allocations: 9.25 kB / 1.166 GB, free: 260.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/2.961, allocations: 24.17 kB / 1.166 GB, free: 260.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0739/3.035, allocations: 22.8 MB / 1.188 GB, free: 237.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009573/3.036, allocations: 291.5 kB / 1.189 GB, free: 237.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02754/3.063, allocations: 14.4 MB / 1.203 GB, free: 222.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/3.066, allocations: 0.5863 MB / 1.203 GB, free: 222.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/3.067, allocations: 287.8 kB / 1.203 GB, free: 221.8 MB / 0.795 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.0013/3.068, allocations: 0.7913 MB / 1.204 GB, free: 221 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004661/3.069, allocations: 292.7 kB / 1.204 GB, free: 220.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02326/3.092, allocations: 13.6 MB / 1.218 GB, free: 207.1 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/3.092, allocations: 60 kB / 1.218 GB, free: 207 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/3.092, allocations: 0 / 1.218 GB, free: 207 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.313e-05/3.092, allocations: 27.89 kB / 1.218 GB, free: 207 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03322/3.125, allocations: 20.46 MB / 1.238 GB, free: 186.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/3.125, allocations: 3.984 kB / 1.238 GB, free: 186.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/3.126, allocations: 155.8 kB / 1.238 GB, free: 186.4 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06809/3.194, allocations: 19.97 MB / 1.257 GB, free: 166.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001201/3.195, allocations: 199.9 kB / 1.258 GB, free: 166.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02553/3.221, allocations: 14.18 MB / 1.271 GB, free: 151.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/3.221, allocations: 0 / 1.271 GB, free: 151.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02332/3.244, allocations: 12.06 MB / 1.283 GB, free: 139.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/3.246, allocations: 1.21 MB / 1.284 GB, free: 138.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000423/3.246, allocations: 100 kB / 1.285 GB, free: 138.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/3.249, allocations: 260.4 kB / 1.285 GB, free: 138.1 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006528/3.249, allocations: 380.2 kB / 1.285 GB, free: 137.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003592/3.25, allocations: 245.9 kB / 1.285 GB, free: 137.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006095/3.25, allocations: 0.6419 MB / 1.286 GB, free: 136.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/3.25, allocations: 0 / 1.286 GB, free: 136.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005774/3.256, allocations: 3 MB / 1.289 GB, free: 134.1 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 (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.00638/3.263, allocations: 3.01 MB / 1.292 GB, free: 131.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01835/3.281, allocations: 9.339 MB / 1.301 GB, free: 122.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/3.281, allocations: 4.875 kB / 1.301 GB, free: 122.2 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01209/3.293, allocations: 5.255 MB / 1.306 GB, free: 117 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/3.295, allocations: 0.6253 MB / 1.307 GB, free: 116.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04882/3.344, allocations: 12.65 MB / 1.319 GB, free: 103.7 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/3.345, allocations: 1.933 MB / 1.321 GB, free: 101.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/3.346, allocations: 159.4 kB / 1.321 GB, free: 101.6 MB / 0.795 GB Notification: Performance of SimCode: time 4.1e-07/3.346, allocations: 0 / 1.321 GB, free: 101.6 MB / 0.795 GB Notification: Performance of Templates: time 0.07952/3.425, allocations: 85.09 MB / 1.404 GB, free: 16.9 MB / 0.795 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