Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.691/0.691, allocations: 150.8 MB / 166.7 MB, free: 15.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.501e-05/1.501e-05, allocations: 4 kB / 205.4 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 31.97 MB / 237.4 MB, free: 5.391 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.TestStodolaTurbine1): time 1.327/1.447, allocations: 295.9 MB / 0.5208 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4023/1.849, allocations: 197.8 MB / 0.7139 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004754/1.85, allocations: 17.47 kB / 0.7139 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004368/1.85, allocations: 181.9 kB / 0.7141 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006801/1.851, allocations: 314.6 kB / 0.7144 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02382/1.875, allocations: 11.5 MB / 0.7256 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009015/1.876, allocations: 1.199 MB / 0.7268 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/1.876, allocations: 491.8 kB / 0.7273 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/1.877, allocations: 447.2 kB / 0.7277 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003515/1.877, allocations: 457 kB / 0.7281 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/1.877, allocations: 37.38 kB / 0.7282 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03169/1.909, allocations: 26.17 MB / 0.7537 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002637/1.909, allocations: 270.4 kB / 0.754 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005673/1.91, allocations: 0.5969 MB / 0.7546 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01113/1.921, allocations: 9.075 MB / 0.7634 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.921, allocations: 2 kB / 0.7634 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.392e-06/1.921, allocations: 1.859 kB / 0.7634 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.145e-05/1.921, allocations: 0 / 0.7634 GB, free: 11.93 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005754/1.926, allocations: 2.941 MB / 0.7663 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/1.926, allocations: 9.156 kB / 0.7663 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/1.927, allocations: 165.4 kB / 0.7665 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/1.927, allocations: 0.6537 MB / 0.7671 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/1.927, allocations: 134.1 kB / 0.7673 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/1.928, allocations: 85.91 kB / 0.7673 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/1.929, allocations: 1.015 MB / 0.7683 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/1.929, allocations: 5.469 kB / 0.7683 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/1.929, allocations: 37.66 kB / 0.7684 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/1.929, allocations: 32.23 kB / 0.7684 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.93, allocations: 0.8363 MB / 0.7692 GB, free: 8.949 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.1337/2.064, allocations: 66.55 MB / 0.8342 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/2.066, allocations: 0.7682 MB / 0.8349 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005188/2.066, allocations: 299.5 kB / 0.8352 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4975/2.564, allocations: 159.3 MB / 0.9908 GB, free: 234.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/2.564, allocations: 38.56 kB / 0.9908 GB, free: 234.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=78): time 2.344e-06/2.564, allocations: 0 / 0.9908 GB, free: 234.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=78): time 0.007803/2.572, allocations: 2.536 MB / 0.9933 GB, free: 233.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/2.572, allocations: 58.03 kB / 0.9934 GB, free: 233.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/2.573, allocations: 1.123 MB / 0.9945 GB, free: 233.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/2.573, allocations: 32.61 kB / 0.9945 GB, free: 233.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/2.573, allocations: 0.6267 MB / 0.9951 GB, free: 233.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/2.574, allocations: 276.5 kB / 0.9954 GB, free: 233.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/2.574, allocations: 93.33 kB / 0.9955 GB, free: 233.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.104e-05/2.574, allocations: 346.8 kB / 0.9958 GB, free: 233 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/2.574, allocations: 306.3 kB / 0.9961 GB, free: 233 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/2.575, allocations: 0.537 MB / 0.9966 GB, free: 232.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/2.576, allocations: 0.8593 MB / 0.9974 GB, free: 232.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/2.576, allocations: 2.719 kB / 0.9974 GB, free: 232.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003129/2.579, allocations: 1.471 MB / 0.9989 GB, free: 232.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/2.579, allocations: 7.969 kB / 0.9989 GB, free: 232.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/2.579, allocations: 10.56 kB / 0.9989 GB, free: 232.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007004/2.586, allocations: 1.391 MB / 1 GB, free: 232.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/2.587, allocations: 116.3 kB / 1 GB, free: 232.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/2.589, allocations: 2.865 MB / 1.003 GB, free: 230.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/2.589, allocations: 137.7 kB / 1.003 GB, free: 230 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/2.589, allocations: 38.28 kB / 1.003 GB, free: 230 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.fluid1,sourceP1.C.ftype,sourceP.C.ftype,stodolaTurbine.fluid,puitsP.fluid,DynamicCentrifugalPump1.fluid,puitsP1.fluid,sourceP.fluid1,DynamicCentrifugalPump1.C2.diff_on_1,sourceP1.C.diff_on_2,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 (65): * Single equations (assignments): 60 * 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 {(3,21), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003156/2.59, allocations: 323.9 kB / 1.004 GB, free: 229.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/2.59, allocations: 122.7 kB / 1.004 GB, free: 229.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/2.592, allocations: 1.481 MB / 1.005 GB, free: 229.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001734/2.594, allocations: 1.103 MB / 1.006 GB, free: 229.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/2.594, allocations: 4 kB / 1.006 GB, free: 229.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/2.594, allocations: 3.984 kB / 1.006 GB, free: 229.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/2.597, allocations: 2.544 MB / 1.009 GB, free: 229.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/2.597, allocations: 4 kB / 1.009 GB, free: 229.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/2.598, allocations: 71.02 kB / 1.009 GB, free: 229.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004996/2.603, allocations: 1.245 MB / 1.01 GB, free: 229 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/2.603, allocations: 17.56 kB / 1.01 GB, free: 229 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/2.605, allocations: 2.911 MB / 1.013 GB, free: 226.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/2.605, allocations: 0 / 1.013 GB, free: 226.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/2.608, allocations: 1.775 MB / 1.015 GB, free: 226.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/2.608, allocations: 261.1 kB / 1.015 GB, free: 226.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.336e-05/2.608, allocations: 9.562 kB / 1.015 GB, free: 226.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/2.608, allocations: 51.78 kB / 1.015 GB, free: 226.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/2.608, allocations: 44.52 kB / 1.015 GB, free: 226.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/2.608, allocations: 20.53 kB / 1.015 GB, free: 226.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006849/2.609, allocations: 0.7628 MB / 1.016 GB, free: 226.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/2.609, allocations: 0 / 1.016 GB, free: 226.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004253/2.613, allocations: 2.228 MB / 1.018 GB, free: 226.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (44): * Single equations (assignments): 39 * 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 {(3,24), (1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00773/2.621, allocations: 3.106 MB / 1.021 GB, free: 225.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001683/2.623, allocations: 1.032 MB / 1.022 GB, free: 225.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/2.623, allocations: 2.219 kB / 1.022 GB, free: 225.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009122/2.624, allocations: 0.5055 MB / 1.022 GB, free: 225.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/2.625, allocations: 313 kB / 1.023 GB, free: 225.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/2.628, allocations: 3.077 MB / 1.026 GB, free: 224.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/2.628, allocations: 1.2 MB / 1.027 GB, free: 223.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/2.629, allocations: 57.27 kB / 1.027 GB, free: 223.4 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/2.629, allocations: 6.625 kB / 1.027 GB, free: 223.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.05389/2.682, allocations: 66.64 MB / 1.092 GB, free: 168.3 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.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/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.TestStodolaTurbine1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine1CalcHelperMain.o] Error 1