Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.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.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7442/0.7442, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.288e-05/1.289e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 31.99 MB / 237.4 MB, free: 5.395 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.TestGasTurbine): time 1.444/1.58, allocations: 297.8 MB / 0.5226 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4467/2.026, allocations: 188.8 MB / 0.7071 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007914/2.027, allocations: 18.94 kB / 0.7071 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004471/2.028, allocations: 173.2 kB / 0.7072 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008475/2.029, allocations: 438.7 kB / 0.7077 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02243/2.051, allocations: 9.726 MB / 0.7172 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001555/2.053, allocations: 1.816 MB / 0.7189 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/2.053, allocations: 0.9059 MB / 0.7198 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006192/2.054, allocations: 0.5716 MB / 0.7204 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000485/2.055, allocations: 0.6441 MB / 0.721 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.557e-05/2.055, allocations: 61.38 kB / 0.7211 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02923/2.084, allocations: 22.15 MB / 0.7427 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000327/2.084, allocations: 251.3 kB / 0.7429 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009359/2.085, allocations: 0.7622 MB / 0.7437 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01167/2.097, allocations: 8.361 MB / 0.7518 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/2.097, allocations: 4 kB / 0.7518 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.434e-06/2.097, allocations: 0 / 0.7518 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.585e-05/2.097, allocations: 0 / 0.7518 GB, free: 13.95 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: 428 * Number of variables: 428 Notification: Performance of Generate backend data structure: time 0.006132/2.103, allocations: 2.664 MB / 0.7544 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/2.103, allocations: 11.56 kB / 0.7545 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/2.103, allocations: 188.8 kB / 0.7546 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/2.104, allocations: 0.719 MB / 0.7553 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.251e-05/2.104, allocations: 133 kB / 0.7555 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/2.104, allocations: 156.1 kB / 0.7556 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/2.107, allocations: 1.85 MB / 0.7574 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/2.107, allocations: 7.875 kB / 0.7574 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/2.107, allocations: 73.12 kB / 0.7575 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/2.107, allocations: 47.41 kB / 0.7575 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/2.109, allocations: 1.347 MB / 0.7589 GB, free: 10.89 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.07442/2.184, allocations: 40.46 MB / 0.7984 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/2.185, allocations: 0.6363 MB / 0.799 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/2.186, allocations: 385.3 kB / 0.7994 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09831/2.284, allocations: 58.78 MB / 0.8568 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/2.284, allocations: 44.22 kB / 0.8568 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=71): time 2.474e-06/2.284, allocations: 3.188 kB / 0.8568 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of matching and sorting (n=71): time 0.008554/2.293, allocations: 2.396 MB / 0.8591 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/2.293, allocations: 59.95 kB / 0.8592 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/2.294, allocations: 0.9471 MB / 0.8601 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/2.294, allocations: 37.58 kB / 0.8602 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/2.294, allocations: 0.6964 MB / 0.8608 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/2.294, allocations: 257.9 kB / 0.8611 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/2.295, allocations: 99.95 kB / 0.8612 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001017/2.295, allocations: 344.8 kB / 0.8615 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007344/2.295, allocations: 367.5 kB / 0.8619 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009264/2.296, allocations: 0.7255 MB / 0.8626 GB, free: 488 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/2.298, allocations: 1.155 MB / 0.8637 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/2.298, allocations: 4 kB / 0.8637 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002706/2.301, allocations: 1.477 MB / 0.8651 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/2.301, allocations: 8 kB / 0.8651 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/2.301, allocations: 13.86 kB / 0.8652 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002814/2.304, allocations: 0.7449 MB / 0.8659 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007168/2.304, allocations: 189.9 kB / 0.8661 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/2.307, allocations: 2.492 MB / 0.8685 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008245/2.308, allocations: 196.1 kB / 0.8687 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/2.308, allocations: 48 kB / 0.8687 GB, free: 11.2 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 18 (gasTurbine.chambreCombustionTAC.Cfg.ftype,sourcePQ.C.ftype,gasTurbine.chambreCombustionTAC.fluids[1],gasTurbine.xAIR.fluid,gasTurbine.Compresseur.fluid,sink.fluid,gasTurbine.TurbineAgaz.fluid,water.C.ftype,gasTurbine.chambreCombustionTAC.fluid_ws,water.fluid1,sourcePQ.fluid1,gasTurbine.chambreCombustionTAC.Cfg.diff_on_2,gasTurbine.chambreCombustionTAC.Cfg.diff_on_1,gasTurbine.Sortie_fumees.diff_on_1,gasTurbine.chambreCombustionTAC.Ca.diff_on_2,gasTurbine.Entree_air.diff_on_2,gasTurbine.chambreCombustionTAC.Cws.diff_on_2,gasTurbine.Compresseur.Cs.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 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): 1 system {(12,26)} Notification: Performance of prepare postOptimizeDAE: time 0.000447/2.308, allocations: 318.9 kB / 0.869 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/2.308, allocations: 106.7 kB / 0.8691 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/2.311, allocations: 1.266 MB / 0.8704 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001732/2.312, allocations: 0.9819 MB / 0.8713 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/2.312, allocations: 4 kB / 0.8713 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/2.312, allocations: 3.984 kB / 0.8713 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/2.316, allocations: 2.578 MB / 0.8739 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/2.316, allocations: 0 / 0.8739 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/2.316, allocations: 106.8 kB / 0.874 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002686/2.319, allocations: 0.7042 MB / 0.8747 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/2.319, allocations: 16 kB / 0.8747 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/2.322, allocations: 2.487 MB / 0.8771 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/2.322, allocations: 3.938 kB / 0.8771 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/2.324, allocations: 1.193 MB / 0.8783 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/2.324, allocations: 285.2 kB / 0.8785 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-05/2.324, allocations: 12 kB / 0.8785 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005404/2.325, allocations: 63.83 kB / 0.8786 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/2.325, allocations: 48.58 kB / 0.8787 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/2.325, allocations: 24 kB / 0.8787 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007362/2.325, allocations: 0.6235 MB / 0.8793 GB, free: 260 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.81e-07/2.325, allocations: 0 / 0.8793 GB, free: 260 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004689/2.33, allocations: 1.748 MB / 0.881 GB, free: 14.5 MB / 0.7169 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 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): 1 system {(13,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005911/2.336, allocations: 2.34 MB / 0.8833 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003032/2.339, allocations: 1.152 MB / 0.8844 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/2.339, allocations: 2.906 kB / 0.8844 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/2.341, allocations: 0.6095 MB / 0.885 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/2.342, allocations: 320.8 kB / 0.8853 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/2.345, allocations: 2.658 MB / 0.8879 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/2.346, allocations: 1.136 MB / 0.889 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/2.346, allocations: 71.44 kB / 0.8891 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of SimCode: time 4e-07/2.346, allocations: 0 / 0.8891 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.05982/2.406, allocations: 57.41 MB / 0.9451 GB, free: 13.12 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.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.TestGasTurbineCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbineCalcHelperMain.o] Error 1