Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.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.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6834/0.6834, allocations: 150.8 MB / 166.7 MB, free: 15.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.301e-05/1.311e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 31.98 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.Examples.SimpleExamples.TestStodolaTurbine): time 1.321/1.437, allocations: 296 MB / 0.5209 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04675/1.483, allocations: 48.82 MB / 0.5685 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/1.484, allocations: 4 kB / 0.5685 GB, free: 10.46 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004508/1.484, allocations: 202.9 kB / 0.5687 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004844/1.485, allocations: 277.9 kB / 0.569 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02111/1.506, allocations: 10.09 MB / 0.5788 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/1.507, allocations: 1.196 MB / 0.58 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004488/1.507, allocations: 397.2 kB / 0.5804 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004978/1.508, allocations: 442 kB / 0.5808 GB, free: 13.87 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/1.508, allocations: 430 kB / 0.5812 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.173e-05/1.508, allocations: 36 kB / 0.5813 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03046/1.539, allocations: 23.94 MB / 0.6046 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/1.539, allocations: 151.3 kB / 0.6048 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004076/1.539, allocations: 467.2 kB / 0.6052 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008639/1.548, allocations: 7.888 MB / 0.6129 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.548, allocations: 4 kB / 0.6129 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/1.548, allocations: 0 / 0.6129 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.704e-05/1.548, allocations: 4 kB / 0.6129 GB, free: 12.91 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.006404/1.554, allocations: 2.514 MB / 0.6154 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/1.555, allocations: 8.031 kB / 0.6154 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/1.555, allocations: 98.78 kB / 0.6155 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/1.555, allocations: 444 kB / 0.6159 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/1.555, allocations: 150.3 kB / 0.6161 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/1.555, allocations: 64 kB / 0.6161 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/1.557, allocations: 1.082 MB / 0.6172 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.557, allocations: 3.938 kB / 0.6172 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/1.557, allocations: 31.94 kB / 0.6172 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/1.557, allocations: 39.97 kB / 0.6173 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/1.56, allocations: 1.017 MB / 0.6182 GB, free: 7.305 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.01982/1.579, allocations: 13.16 MB / 0.6311 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/1.582, allocations: 1.065 MB / 0.6321 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/1.583, allocations: 0.531 MB / 0.6327 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3044/1.887, allocations: 110 MB / 0.7401 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/1.887, allocations: 35.44 kB / 0.7401 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=137): time 2.655e-06/1.887, allocations: 0.5625 kB / 0.7401 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137): time 0.007122/1.895, allocations: 2.941 MB / 0.743 GB, free: 191.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/1.895, allocations: 63.73 kB / 0.743 GB, free: 191.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/1.895, allocations: 473 kB / 0.7435 GB, free: 191.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/1.895, allocations: 36.61 kB / 0.7435 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/1.895, allocations: 312 kB / 0.7438 GB, free: 191 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/1.895, allocations: 452.8 kB / 0.7443 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/1.895, allocations: 100.3 kB / 0.7444 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.068e-05/1.895, allocations: 397 kB / 0.7447 GB, free: 190.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009508/1.896, allocations: 446 kB / 0.7452 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009904/1.897, allocations: 0.6448 MB / 0.7458 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/1.899, allocations: 1.146 MB / 0.7469 GB, free: 189.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.899, allocations: 0 / 0.7469 GB, free: 189.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003155/1.903, allocations: 1.655 MB / 0.7485 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.903, allocations: 8.406 kB / 0.7485 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.903, allocations: 3.906 kB / 0.7485 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003353/1.906, allocations: 1.193 MB / 0.7497 GB, free: 188.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/1.907, allocations: 190.9 kB / 0.7499 GB, free: 188.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/1.909, allocations: 2.995 MB / 0.7528 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/1.909, allocations: 174.4 kB / 0.753 GB, free: 186.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/1.91, allocations: 42.2 kB / 0.753 GB, free: 186.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 14 (VanneReglante1.C2.b,VanneReglante1.C1.a,Bache1.Cs1.b,Bache1.Ce2.a,Bache1.Cs2.b,Bache1.Ce1.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.a,sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.a,Bache1.Cs1.a,Bache1.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(9,21), (1,1), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002256/1.91, allocations: 227.2 kB / 0.7532 GB, free: 186.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-05/1.91, allocations: 76.22 kB / 0.7533 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/1.913, allocations: 2.703 MB / 0.7559 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002764/1.916, allocations: 1.679 MB / 0.7576 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/1.916, allocations: 4 kB / 0.7576 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/1.916, allocations: 3.984 kB / 0.7576 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004834/1.921, allocations: 3.765 MB / 0.7613 GB, free: 180.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.921, allocations: 4.5 kB / 0.7613 GB, free: 180.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.922, allocations: 299.7 kB / 0.7616 GB, free: 180.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/1.924, allocations: 0.8673 MB / 0.7624 GB, free: 179.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/1.924, allocations: 31.36 kB / 0.7624 GB, free: 179.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/1.925, allocations: 2.881 MB / 0.7652 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.925, allocations: 5.641 kB / 0.7653 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/1.929, allocations: 2.686 MB / 0.7679 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/1.93, allocations: 311.1 kB / 0.7682 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.768e-05/1.93, allocations: 24 kB / 0.7682 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/1.93, allocations: 119.7 kB / 0.7683 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.931, allocations: 97.23 kB / 0.7684 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/1.931, allocations: 43.98 kB / 0.7684 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003395/1.931, allocations: 451.1 kB / 0.7689 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.931, allocations: 0 / 0.7689 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003131/1.934, allocations: 1.97 MB / 0.7708 GB, free: 171.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Bache1.z,Bache1.h) * 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 (104): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(5,16), (1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005919/1.94, allocations: 2.621 MB / 0.7734 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002954/1.943, allocations: 1.739 MB / 0.7751 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.943, allocations: 0 / 0.7751 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/1.945, allocations: 0.9288 MB / 0.776 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/1.947, allocations: 419.4 kB / 0.7764 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/1.95, allocations: 3.25 MB / 0.7795 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/1.951, allocations: 1.101 MB / 0.7806 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/1.951, allocations: 75.42 kB / 0.7807 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/1.951, allocations: 0 / 0.7807 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.04632/1.997, allocations: 59.66 MB / 0.8389 GB, free: 102.9 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.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.TestStodolaTurbineCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbineCalcHelperMain.o] Error 1