Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.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.Examples.SimpleExamples.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6859/0.6859, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.379e-05/1.388e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 31.98 MB / 237.4 MB, free: 5.43 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.Examples.SimpleExamples.TestStodolaTurbine1): time 1.319/1.439, allocations: 295.4 MB / 0.5203 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04798/1.487, allocations: 48.23 MB / 0.5674 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/1.487, allocations: 11.94 kB / 0.5674 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/1.487, allocations: 175 kB / 0.5676 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005218/1.488, allocations: 230.2 kB / 0.5678 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01983/1.508, allocations: 9.881 MB / 0.5774 GB, free: 1.516 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008839/1.509, allocations: 0.9456 MB / 0.5784 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/1.509, allocations: 284.1 kB / 0.5786 GB, free: 292 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/1.509, allocations: 322.4 kB / 0.5789 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/1.51, allocations: 302.4 kB / 0.5792 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/1.51, allocations: 27.94 kB / 0.5793 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03104/1.541, allocations: 23.92 MB / 0.6026 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/1.541, allocations: 95.48 kB / 0.6027 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/1.541, allocations: 375.7 kB / 0.6031 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008543/1.55, allocations: 7.709 MB / 0.6106 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/1.55, allocations: 0 / 0.6106 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/1.55, allocations: 4 kB / 0.6106 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.202e-05/1.55, allocations: 0 / 0.6106 GB, free: 15.48 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.004973/1.555, allocations: 2.156 MB / 0.6127 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/1.555, allocations: 12.03 kB / 0.6127 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/1.555, allocations: 78.97 kB / 0.6128 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/1.555, allocations: 357.5 kB / 0.6131 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.556, allocations: 112.6 kB / 0.6132 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/1.556, allocations: 55.94 kB / 0.6133 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/1.557, allocations: 0.7815 MB / 0.6141 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.557, allocations: 4 kB / 0.6141 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/1.557, allocations: 20 kB / 0.6141 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/1.557, allocations: 31.97 kB / 0.6141 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009564/1.558, allocations: 0.5903 MB / 0.6147 GB, free: 11.14 MB / 0.4981 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.03417/1.592, allocations: 19.82 MB / 0.634 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009671/1.593, allocations: 0.5327 MB / 0.6346 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/1.593, allocations: 346.7 kB / 0.6349 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3096/1.903, allocations: 110 MB / 0.7423 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/1.903, allocations: 40 kB / 0.7423 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=116): time 2.154e-06/1.903, allocations: 0 / 0.7423 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=116): time 0.002817/1.906, allocations: 1.666 MB / 0.744 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.882e-05/1.906, allocations: 65.66 kB / 0.744 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/1.906, allocations: 414.3 kB / 0.7444 GB, free: 185.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/1.906, allocations: 30.86 kB / 0.7445 GB, free: 185.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.906, allocations: 252.5 kB / 0.7447 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/1.907, allocations: 377.1 kB / 0.7451 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/1.907, allocations: 86.52 kB / 0.7451 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.423e-05/1.907, allocations: 377.8 kB / 0.7455 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/1.907, allocations: 275 kB / 0.7458 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/1.908, allocations: 404.5 kB / 0.7461 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008644/1.909, allocations: 0.7197 MB / 0.7469 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.909, allocations: 0 / 0.7469 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003072/1.912, allocations: 1.352 MB / 0.7482 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.912, allocations: 11.56 kB / 0.7482 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.912, allocations: 3.906 kB / 0.7482 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/1.913, allocations: 0.5997 MB / 0.7488 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/1.913, allocations: 51.12 kB / 0.7488 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/1.915, allocations: 2.177 MB / 0.7509 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/1.915, allocations: 105.2 kB / 0.751 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/1.915, allocations: 23.14 kB / 0.7511 GB, free: 182.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.b,puitsP1.C.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.a,sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(6,15), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001713/1.915, allocations: 189.9 kB / 0.7512 GB, free: 182.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/1.915, allocations: 61.91 kB / 0.7513 GB, free: 182.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/1.917, allocations: 1.732 MB / 0.753 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00137/1.918, allocations: 1.01 MB / 0.754 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/1.919, allocations: 0.875 kB / 0.754 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.919, allocations: 11.17 kB / 0.754 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/1.921, allocations: 2.739 MB / 0.7567 GB, free: 181.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.921, allocations: 5.281 kB / 0.7567 GB, free: 181.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/1.922, allocations: 197.5 kB / 0.7569 GB, free: 181.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005024/1.923, allocations: 332.6 kB / 0.7572 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/1.923, allocations: 27.59 kB / 0.7572 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/1.925, allocations: 5.316 MB / 0.7624 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.925, allocations: 15.77 kB / 0.7624 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/1.927, allocations: 1.78 MB / 0.7642 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/1.927, allocations: 269.6 kB / 0.7644 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/1.927, allocations: 25.89 kB / 0.7644 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/1.928, allocations: 53.95 kB / 0.7645 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/1.928, allocations: 85.7 kB / 0.7646 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/1.928, allocations: 30.16 kB / 0.7646 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003565/1.928, allocations: 461.5 kB / 0.765 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.928, allocations: 0 / 0.765 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003052/1.931, allocations: 1.918 MB / 0.7669 GB, free: 173.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Shaft1.delta) * 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 (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 1 system {(1,1,100.0%)} * 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.005766/1.937, allocations: 2.614 MB / 0.7695 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00149/1.938, allocations: 1.166 MB / 0.7706 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.938, allocations: 4.062 kB / 0.7706 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/1.939, allocations: 0.7618 MB / 0.7714 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/1.941, allocations: 373.5 kB / 0.7717 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/1.944, allocations: 2.517 MB / 0.7742 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/1.944, allocations: 1.014 MB / 0.7752 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/1.944, allocations: 62.42 kB / 0.7752 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/1.944, allocations: 0 / 0.7752 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.04191/1.986, allocations: 54.22 MB / 0.8282 GB, free: 113.1 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1CalcHelperMain.o] Error 1