Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.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.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6908/0.6908, allocations: 150.8 MB / 166.7 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.354e-05/1.354e-05, allocations: 4 kB / 205.4 MB, free: 9.82 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 31.98 MB / 237.4 MB, free: 5.309 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.TestSteamExtractionSplitter): time 1.324/1.446, allocations: 294.7 MB / 0.5196 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03762/1.484, allocations: 38.97 MB / 0.5577 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/1.484, allocations: 4 kB / 0.5577 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/1.484, allocations: 139.2 kB / 0.5578 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/1.485, allocations: 182.6 kB / 0.558 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0153/1.5, allocations: 7.651 MB / 0.5655 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005624/1.5, allocations: 0.6414 MB / 0.5661 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/1.501, allocations: 238 kB / 0.5663 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/1.501, allocations: 230.8 kB / 0.5666 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/1.501, allocations: 210.8 kB / 0.5668 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/1.501, allocations: 20 kB / 0.5668 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02363/1.525, allocations: 18.69 MB / 0.585 GB, free: 9.516 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/1.525, allocations: 75.58 kB / 0.5851 GB, free: 9.441 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/1.525, allocations: 284.2 kB / 0.5854 GB, free: 9.156 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006351/1.532, allocations: 6.065 MB / 0.5913 GB, free: 3.074 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/1.532, allocations: 0 / 0.5913 GB, free: 3.074 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/1.532, allocations: 0 / 0.5913 GB, free: 3.074 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/1.532, allocations: 0 / 0.5913 GB, free: 3.074 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002817/1.534, allocations: 1.661 MB / 0.5929 GB, free: 1.359 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/1.534, allocations: 8.031 kB / 0.5929 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/1.535, allocations: 71.09 kB / 0.593 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/1.535, allocations: 306 kB / 0.5933 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/1.535, allocations: 37 kB / 0.5933 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/1.535, allocations: 40 kB / 0.5934 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/1.536, allocations: 0.6244 MB / 0.594 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.536, allocations: 3.938 kB / 0.594 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/1.536, allocations: 23.94 kB / 0.594 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/1.536, allocations: 31.97 kB / 0.594 GB, free: 144 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/1.536, allocations: 387.9 kB / 0.5944 GB, free: 15.76 MB / 494.1 MB 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.01806/1.554, allocations: 11.88 MB / 0.606 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/1.555, allocations: 320.4 kB / 0.6063 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/1.555, allocations: 210.1 kB / 0.6065 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1442/1.699, allocations: 81.17 MB / 0.6858 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/1.699, allocations: 38.56 kB / 0.6858 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.064e-06/1.7, allocations: 0 / 0.6858 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.003109/1.703, allocations: 1.4 MB / 0.6872 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/1.703, allocations: 55.41 kB / 0.6872 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/1.703, allocations: 328.3 kB / 0.6875 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/1.703, allocations: 29.7 kB / 0.6876 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/1.703, allocations: 220.9 kB / 0.6878 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/1.703, allocations: 260 kB / 0.688 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/1.703, allocations: 65.67 kB / 0.6881 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.703, allocations: 358.8 kB / 0.6884 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/1.704, allocations: 156.9 kB / 0.6886 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/1.704, allocations: 269.1 kB / 0.6888 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/1.705, allocations: 489.2 kB / 0.6893 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.705, allocations: 7.984 kB / 0.6893 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001139/1.706, allocations: 0.7695 MB / 0.6901 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.706, allocations: 13.66 kB / 0.6901 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.706, allocations: 4 kB / 0.6901 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/1.707, allocations: 0.7916 MB / 0.6909 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.673e-05/1.707, allocations: 15.92 kB / 0.6909 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/1.708, allocations: 2.152 MB / 0.693 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/1.709, allocations: 63.12 kB / 0.693 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/1.709, allocations: 19.98 kB / 0.6931 GB, free: 296 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (sink.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,sourceQ.C.b,steamExtractionSplitter.Cex.b,steamExtractionSplitter.Cs.b,steamExtractionSplitter.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 14 * 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,3), (1,3), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001625/1.709, allocations: 171.4 kB / 0.6932 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/1.709, allocations: 43.44 kB / 0.6933 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1319/1.841, allocations: 1.398 MB / 0.6946 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009003/1.842, allocations: 0.7952 MB / 0.6954 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.842, allocations: 1.031 kB / 0.6954 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.842, allocations: 4.594 kB / 0.6954 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/1.844, allocations: 1.851 MB / 0.6972 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/1.844, allocations: 1.062 kB / 0.6972 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/1.844, allocations: 41.03 kB / 0.6973 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009901/1.845, allocations: 0.8214 MB / 0.6981 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/1.845, allocations: 9.359 kB / 0.6981 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/1.846, allocations: 2.185 MB / 0.7002 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.846, allocations: 0 / 0.7002 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/1.847, allocations: 0.9702 MB / 0.7011 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/1.847, allocations: 183.8 kB / 0.7013 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/1.847, allocations: 8.438 kB / 0.7013 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/1.848, allocations: 20.88 kB / 0.7013 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/1.848, allocations: 28.31 kB / 0.7014 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/1.848, allocations: 12.61 kB / 0.7014 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001996/1.848, allocations: 274.4 kB / 0.7016 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.848, allocations: 0 / 0.7016 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002347/1.85, allocations: 1.275 MB / 0.7029 GB, free: 224.6 MB / 0.5762 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,3), (1,3), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003576/1.854, allocations: 1.812 MB / 0.7047 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009482/1.855, allocations: 0.7218 MB / 0.7054 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.855, allocations: 0 / 0.7054 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005496/1.855, allocations: 403.3 kB / 0.7058 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/1.856, allocations: 229.5 kB / 0.706 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/1.858, allocations: 1.423 MB / 0.7074 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/1.858, allocations: 0.9088 MB / 0.7082 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/1.858, allocations: 33.03 kB / 0.7083 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/1.858, allocations: 0.8438 kB / 0.7083 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02709/1.885, allocations: 34.15 MB / 0.7416 GB, free: 205.7 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.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.TestSteamExtractionSplitterCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitterCalcHelperMain.o] Error 1