Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem.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.TestCHPEngineBarkantineSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7282/0.7282, allocations: 150.8 MB / 166.7 MB, free: 15.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.269e-05/1.284e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1454, allocations: 31.98 MB / 237.4 MB, free: 5.398 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.TestCHPEngineBarkantineSystem): time 1.439/1.584, allocations: 300.1 MB / 0.5249 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4383/2.023, allocations: 194.4 MB / 0.7147 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000598/2.023, allocations: 25.94 kB / 0.7148 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003474/2.024, allocations: 186.1 kB / 0.7149 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/2.025, allocations: 0.6551 MB / 0.7156 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03044/2.055, allocations: 11.22 MB / 0.7265 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002521/2.058, allocations: 2.908 MB / 0.7294 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/2.059, allocations: 1.304 MB / 0.7307 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000972/2.06, allocations: 0.8662 MB / 0.7315 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007932/2.061, allocations: 1.037 MB / 0.7325 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/2.061, allocations: 112.5 kB / 0.7326 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03301/2.094, allocations: 22.81 MB / 0.7549 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006213/2.095, allocations: 418 kB / 0.7553 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/2.096, allocations: 1.168 MB / 0.7564 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01555/2.112, allocations: 10.24 MB / 0.7664 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/2.112, allocations: 0 / 0.7664 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.657e-06/2.112, allocations: 4.875 kB / 0.7664 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.433e-05/2.112, allocations: 5.969 kB / 0.7664 GB, free: 11.73 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: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.007591/2.12, allocations: 3.547 MB / 0.7699 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/2.12, allocations: 9.75 kB / 0.7699 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/2.12, allocations: 284.5 kB / 0.7702 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/2.121, allocations: 1.139 MB / 0.7713 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.29e-05/2.121, allocations: 177.3 kB / 0.7715 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/2.122, allocations: 230.2 kB / 0.7717 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/2.125, allocations: 2.551 MB / 0.7742 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/2.125, allocations: 1.5 kB / 0.7742 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/2.125, allocations: 104.2 kB / 0.7743 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/2.126, allocations: 61.25 kB / 0.7743 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/2.129, allocations: 2.225 MB / 0.7765 GB, free: 7.707 MB / 0.5919 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.09037/2.219, allocations: 51.53 MB / 0.8268 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/2.221, allocations: 1.116 MB / 0.8279 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006581/2.221, allocations: 470.6 kB / 0.8284 GB, free: 64 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9291/3.151, allocations: 461.1 MB / 1.279 GB, free: 123.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/3.151, allocations: 46.62 kB / 1.279 GB, free: 123.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=98): time 3.136e-06/3.151, allocations: 0 / 1.279 GB, free: 123.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=98): time 0.00905/3.16, allocations: 3.259 MB / 1.282 GB, free: 120.4 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/3.16, allocations: 139.8 kB / 1.282 GB, free: 120.3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/3.162, allocations: 1.541 MB / 1.284 GB, free: 119.1 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/3.162, allocations: 41.7 kB / 1.284 GB, free: 119 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/3.162, allocations: 1.003 MB / 1.285 GB, free: 118.1 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/3.162, allocations: 358.5 kB / 1.285 GB, free: 117.7 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/3.163, allocations: 145.6 kB / 1.285 GB, free: 117.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.52e-05/3.163, allocations: 305.1 kB / 1.285 GB, free: 117.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/3.163, allocations: 0.5076 MB / 1.286 GB, free: 116.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008769/3.164, allocations: 0.9166 MB / 1.287 GB, free: 115.7 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/3.166, allocations: 1.473 MB / 1.288 GB, free: 114.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/3.166, allocations: 10.08 kB / 1.288 GB, free: 114.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004209/3.17, allocations: 2.297 MB / 1.29 GB, free: 111.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/3.17, allocations: 12.75 kB / 1.29 GB, free: 111.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/3.17, allocations: 12.62 kB / 1.29 GB, free: 111.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006187/3.176, allocations: 1.457 MB / 1.292 GB, free: 110.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/3.177, allocations: 227.7 kB / 1.292 GB, free: 110.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/3.18, allocations: 4.727 MB / 1.297 GB, free: 105.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/3.181, allocations: 205.7 kB / 1.297 GB, free: 104.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.526e-05/3.181, allocations: 75.97 kB / 1.297 GB, free: 104.9 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 25 (CHPBarkantine.AirSource.fluid1,CHPBarkantine.Engine.Cfg.ftype,SourceP1.C.ftype,CHPBarkantine.WaterSource.C.ftype,CHPBarkantine.Engine.fluid_ws,PuitsP1.fluid,CHPBarkantine.ExchangerWaterWater.fluid_c,CHPBarkantine.ExchangerWaterWater.fluid_f,CHPBarkantine.PDC1.fluid,CHPBarkantine.WaterSteamSink.fluid,CHPBarkantine.PDC2.fluid,CHPBarkantine.ExchangerWaterFlueGases.fluid_c,CHPBarkantine.ExchangerWaterFlueGases.fluid_f,CHPBarkantine.silencieux.fluid,CHPBarkantine.FlueGasesSink.fluid,CHPBarkantine.WaterSource.fluid1,SourceP1.fluid1,CHPBarkantine.AirSource.C.ftype,CHPBarkantine.Engine.fluids[1],CHPBarkantine.silencieux.C1.diff_on_2,CHPBarkantine.Engine.Cfg.diff_on_1,CHPBarkantine.ExchangerWaterFlueGases.Sc.diff_on_1,CHPBarkantine.Engine.Cws1.diff_on_2,CHPBarkantine.PDC1.C2.diff_on_1,CHPBarkantine.Engine.Cair.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,4), (1,4), (3,21), (1,3), (2,11), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006012/3.181, allocations: 453.4 kB / 1.297 GB, free: 104.4 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/3.182, allocations: 184 kB / 1.298 GB, free: 104.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/3.185, allocations: 1.855 MB / 1.299 GB, free: 102.4 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/3.185, allocations: 12 kB / 1.299 GB, free: 102.4 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/3.185, allocations: 0 / 1.299 GB, free: 102.4 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/3.185, allocations: 7.969 kB / 1.299 GB, free: 102.4 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/3.19, allocations: 3.524 MB / 1.303 GB, free: 98.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/3.19, allocations: 0 / 1.303 GB, free: 98.78 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/3.19, allocations: 87.89 kB / 1.303 GB, free: 98.69 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005016/3.195, allocations: 1.23 MB / 1.304 GB, free: 97.46 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/3.195, allocations: 27.98 kB / 1.304 GB, free: 97.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/3.198, allocations: 4.732 MB / 1.309 GB, free: 92.53 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/3.198, allocations: 0 / 1.309 GB, free: 92.53 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/3.2, allocations: 1.686 MB / 1.31 GB, free: 90.8 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/3.201, allocations: 454.4 kB / 1.311 GB, free: 90.34 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/3.201, allocations: 16 kB / 1.311 GB, free: 90.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/3.202, allocations: 20 kB / 1.311 GB, free: 90.3 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/3.202, allocations: 68.84 kB / 1.311 GB, free: 90.24 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/3.202, allocations: 39.98 kB / 1.311 GB, free: 90.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001018/3.203, allocations: 1.014 MB / 1.312 GB, free: 89.19 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/3.203, allocations: 0 / 1.312 GB, free: 89.19 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004476/3.207, allocations: 2.254 MB / 1.314 GB, free: 87.12 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,4), (1,4), (3,26), (1,4), (1,3), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007563/3.215, allocations: 2.923 MB / 1.317 GB, free: 84.58 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002114/3.217, allocations: 1.341 MB / 1.318 GB, free: 83.24 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/3.217, allocations: 0 / 1.318 GB, free: 83.24 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/3.218, allocations: 0.5957 MB / 1.319 GB, free: 82.65 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/3.22, allocations: 415 kB / 1.319 GB, free: 82.27 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/3.224, allocations: 3.956 MB / 1.323 GB, free: 78.28 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/3.225, allocations: 1.375 MB / 1.325 GB, free: 76.87 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/3.225, allocations: 127.4 kB / 1.325 GB, free: 76.74 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/3.225, allocations: 0 / 1.325 GB, free: 76.74 MB / 0.795 GB Notification: Performance of Templates: time 0.248/3.473, allocations: 114.6 MB / 1.437 GB, free: 420 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem.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.TestCHPEngineBarkantineSystemCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystemCalcHelperMain.o] Error 1