Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.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.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6803/0.6803, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.512e-05/1.504e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.118, allocations: 31.98 MB / 237.4 MB, free: 5.371 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.TestStodolaTurbine2): time 1.3/1.418, allocations: 294.3 MB / 0.5192 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3921/1.81, allocations: 195.4 MB / 0.7101 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/1.81, allocations: 10.62 kB / 0.7101 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003244/1.811, allocations: 145.2 kB / 0.7102 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002977/1.811, allocations: 160 kB / 0.7104 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02233/1.833, allocations: 10.96 MB / 0.7211 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004248/1.834, allocations: 0.5832 MB / 0.7217 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/1.834, allocations: 204.7 kB / 0.7219 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/1.834, allocations: 215.7 kB / 0.7221 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/1.834, allocations: 197.5 kB / 0.7222 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/1.834, allocations: 18.75 kB / 0.7223 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03032/1.865, allocations: 25.63 MB / 0.7473 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/1.865, allocations: 67.47 kB / 0.7474 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/1.865, allocations: 257 kB / 0.7476 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/1.876, allocations: 8.379 MB / 0.7558 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/1.876, allocations: 0 / 0.7558 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/1.876, allocations: 0 / 0.7558 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.052e-06/1.876, allocations: 0 / 0.7558 GB, free: 13.71 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004185/1.88, allocations: 2.119 MB / 0.7579 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/1.88, allocations: 9.375 kB / 0.7579 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/1.88, allocations: 53.62 kB / 0.7579 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/1.88, allocations: 325.1 kB / 0.7582 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/1.88, allocations: 102 kB / 0.7583 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/1.88, allocations: 39.91 kB / 0.7584 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006578/1.881, allocations: 0.5182 MB / 0.7589 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.881, allocations: 3.188 kB / 0.7589 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/1.881, allocations: 13.97 kB / 0.7589 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/1.881, allocations: 21.44 kB / 0.7589 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/1.882, allocations: 387.6 kB / 0.7593 GB, free: 11.73 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.06485/1.947, allocations: 33.47 MB / 0.792 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/1.947, allocations: 234.8 kB / 0.7922 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/1.947, allocations: 152.4 kB / 0.7923 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1222/2.069, allocations: 80.94 MB / 0.8714 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/2.07, allocations: 30.56 kB / 0.8714 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 1.964e-06/2.07, allocations: 0 / 0.8714 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.00292/2.072, allocations: 1.225 MB / 0.8726 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/2.073, allocations: 52.41 kB / 0.8727 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/2.073, allocations: 318.5 kB / 0.873 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/2.073, allocations: 27.58 kB / 0.873 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/2.073, allocations: 245.6 kB / 0.8732 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/2.073, allocations: 158.9 kB / 0.8734 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/2.073, allocations: 48.31 kB / 0.8734 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001115/2.073, allocations: 347 kB / 0.8737 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/2.074, allocations: 151.8 kB / 0.8739 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/2.074, allocations: 270.4 kB / 0.8741 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005977/2.075, allocations: 453.3 kB / 0.8746 GB, free: 468 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/2.075, allocations: 0 / 0.8746 GB, free: 468 kB / 0.7012 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001553/2.076, allocations: 0.7133 MB / 0.8753 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/2.076, allocations: 8 kB / 0.8753 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/2.076, allocations: 6.906 kB / 0.8753 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007205/2.077, allocations: 399.8 kB / 0.8757 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/2.077, allocations: 42.89 kB / 0.8757 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/2.078, allocations: 1.939 MB / 0.8776 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/2.079, allocations: 67.52 kB / 0.8777 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/2.079, allocations: 13.61 kB / 0.8777 GB, free: 13.59 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,stodolaTurbine.fluid,puitsP.fluid,stodolaTurbine.Cs.diff_on_1,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001571/2.079, allocations: 167.5 kB / 0.8778 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/2.079, allocations: 33.39 kB / 0.8779 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/2.08, allocations: 0.8932 MB / 0.8787 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001073/2.081, allocations: 0.7025 MB / 0.8794 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/2.081, allocations: 5.188 kB / 0.8794 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/2.081, allocations: 3.984 kB / 0.8794 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/2.084, allocations: 1.644 MB / 0.881 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/2.084, allocations: 0 / 0.881 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/2.084, allocations: 48.89 kB / 0.8811 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006352/2.085, allocations: 426.9 kB / 0.8815 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/2.085, allocations: 6.75 kB / 0.8815 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/2.086, allocations: 1.969 MB / 0.8834 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/2.086, allocations: 0 / 0.8834 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/2.088, allocations: 0.9017 MB / 0.8843 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/2.088, allocations: 135 kB / 0.8844 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/2.088, allocations: 9.438 kB / 0.8845 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/2.088, allocations: 27.55 kB / 0.8845 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/2.088, allocations: 24.91 kB / 0.8845 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/2.088, allocations: 7.812 kB / 0.8845 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001829/2.088, allocations: 225.2 kB / 0.8847 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/2.088, allocations: 0 / 0.8847 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00382/2.092, allocations: 2.031 MB / 0.8867 GB, free: 5.66 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006273/2.098, allocations: 3.02 MB / 0.8897 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000932/2.099, allocations: 0.5981 MB / 0.8902 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/2.099, allocations: 0 / 0.8902 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004691/2.1, allocations: 304.8 kB / 0.8905 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/2.101, allocations: 224.8 kB / 0.8907 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/2.103, allocations: 1.456 MB / 0.8922 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/2.103, allocations: 0.8598 MB / 0.893 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/2.103, allocations: 47.42 kB / 0.8931 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/2.103, allocations: 0 / 0.8931 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.0478/2.151, allocations: 45.68 MB / 0.9377 GB, free: 2.348 MB / 0.7637 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.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.TestStodolaTurbine2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2CalcHelperMain.o] Error 1