Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.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.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7117/0.7117, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.349e-05/1.366e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 31.98 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.TestSteamDryer1): time 1.356/1.479, allocations: 295.6 MB / 0.5205 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4037/1.883, allocations: 190.4 MB / 0.7064 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005577/1.884, allocations: 9.906 kB / 0.7064 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004036/1.884, allocations: 153 kB / 0.7066 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005283/1.885, allocations: 276 kB / 0.7068 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02074/1.905, allocations: 9.657 MB / 0.7163 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007908/1.906, allocations: 0.9999 MB / 0.7172 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004021/1.907, allocations: 498.2 kB / 0.7177 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/1.907, allocations: 349.1 kB / 0.718 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/1.907, allocations: 392.9 kB / 0.7184 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.272e-05/1.907, allocations: 42.97 kB / 0.7185 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02675/1.934, allocations: 21.43 MB / 0.7394 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/1.934, allocations: 157.5 kB / 0.7395 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004673/1.935, allocations: 466.1 kB / 0.74 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00844/1.943, allocations: 7.597 MB / 0.7474 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.943, allocations: 6.562 kB / 0.7474 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/1.943, allocations: 0 / 0.7474 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.939e-06/1.943, allocations: 0 / 0.7474 GB, free: 15.54 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003959/1.947, allocations: 2.208 MB / 0.7496 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/1.947, allocations: 11.12 kB / 0.7496 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/1.947, allocations: 120.7 kB / 0.7497 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/1.948, allocations: 469.3 kB / 0.7501 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/1.948, allocations: 75.22 kB / 0.7502 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/1.948, allocations: 93.5 kB / 0.7503 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/1.949, allocations: 1.044 MB / 0.7513 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.949, allocations: 14.34 kB / 0.7513 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/1.949, allocations: 39.33 kB / 0.7514 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/1.949, allocations: 26.03 kB / 0.7514 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009267/1.95, allocations: 0.6916 MB / 0.7521 GB, free: 13.23 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.004249/1.955, allocations: 6.608 MB / 0.7585 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009212/1.955, allocations: 0.8452 MB / 0.7593 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/1.956, allocations: 202.4 kB / 0.7595 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.748/2.704, allocations: 374.5 MB / 1.125 GB, free: 315.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/2.704, allocations: 34.56 kB / 1.125 GB, free: 315.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=53): time 2.074e-06/2.704, allocations: 0 / 1.125 GB, free: 315.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53): time 0.003054/2.707, allocations: 1.469 MB / 1.127 GB, free: 314.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/2.707, allocations: 81.11 kB / 1.127 GB, free: 314.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/2.707, allocations: 494.9 kB / 1.127 GB, free: 313.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/2.707, allocations: 33.64 kB / 1.127 GB, free: 313.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/2.708, allocations: 458.1 kB / 1.128 GB, free: 313.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/2.708, allocations: 183.1 kB / 1.128 GB, free: 313.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/2.708, allocations: 79.23 kB / 1.128 GB, free: 313.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.852e-05/2.708, allocations: 369.5 kB / 1.128 GB, free: 313 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/2.708, allocations: 191.6 kB / 1.129 GB, free: 312.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/2.708, allocations: 469.2 kB / 1.129 GB, free: 312.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/2.709, allocations: 0.6918 MB / 1.13 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/2.709, allocations: 4 kB / 1.13 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001497/2.71, allocations: 1.025 MB / 1.131 GB, free: 311 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/2.71, allocations: 9.875 kB / 1.131 GB, free: 311 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/2.71, allocations: 8.562 kB / 1.131 GB, free: 311 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/2.712, allocations: 0.8304 MB / 1.132 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/2.712, allocations: 79.72 kB / 1.132 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/2.714, allocations: 2.071 MB / 1.134 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/2.714, allocations: 109.8 kB / 1.134 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/2.714, allocations: 31.81 kB / 1.134 GB, free: 308.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 19 (steamDryer.Csl.ftype,steamDryer.Csv.ftype,sourceQ.C.ftype,steamDryer.fluids[1],singularPressureLoss2.fluid,sinkP.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,sink.fluid,sourceQ.fluid1,steamDryer.Csl.diff_on_2,steamDryer.Csl.diff_on_1,singularPressureLoss3.C2.diff_on_1,steamDryer.Csv.diff_on_2,steamDryer.Csv.diff_on_1,singularPressureLoss1.C2.diff_on_1,steamDryer.Cev.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss2.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * 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), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002188/2.714, allocations: 234.7 kB / 1.134 GB, free: 307.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/2.714, allocations: 51.34 kB / 1.134 GB, free: 307.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/2.715, allocations: 0.8619 MB / 1.135 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008327/2.716, allocations: 0.6663 MB / 1.136 GB, free: 306.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/2.716, allocations: 2.078 kB / 1.136 GB, free: 306.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/2.716, allocations: 0 / 1.136 GB, free: 306.8 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.002132/2.718, allocations: 1.797 MB / 1.137 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/2.718, allocations: 3.625 kB / 1.137 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/2.718, allocations: 35.92 kB / 1.137 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/2.72, allocations: 0.7151 MB / 1.138 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/2.72, allocations: 11.69 kB / 1.138 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009082/2.721, allocations: 2.024 MB / 1.14 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.721, allocations: 3.938 kB / 1.14 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/2.722, allocations: 0.8953 MB / 1.141 GB, free: 302.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/2.722, allocations: 175.8 kB / 1.141 GB, free: 302 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/2.722, allocations: 9.062 kB / 1.141 GB, free: 302 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/2.723, allocations: 54.95 kB / 1.141 GB, free: 302 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/2.723, allocations: 31.33 kB / 1.141 GB, free: 302 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/2.723, allocations: 14.31 kB / 1.141 GB, free: 301.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00025/2.723, allocations: 313.2 kB / 1.141 GB, free: 301.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/2.723, allocations: 0 / 1.141 GB, free: 301.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002642/2.726, allocations: 1.651 MB / 1.143 GB, free: 300.3 MB / 0.8106 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 (22): * Single equations (assignments): 19 * 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), (3,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005002/2.731, allocations: 2.408 MB / 1.145 GB, free: 298.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008729/2.731, allocations: 0.6632 MB / 1.146 GB, free: 297.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/2.731, allocations: 0 / 1.146 GB, free: 297.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000418/2.732, allocations: 328.7 kB / 1.146 GB, free: 297.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/2.733, allocations: 187.7 kB / 1.147 GB, free: 297.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/2.734, allocations: 1.727 MB / 1.148 GB, free: 295.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/2.734, allocations: 0.9582 MB / 1.149 GB, free: 294.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/2.735, allocations: 47.44 kB / 1.149 GB, free: 294.8 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/2.735, allocations: 0 / 1.149 GB, free: 294.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.03573/2.77, allocations: 43.1 MB / 1.191 GB, free: 252.5 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.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.TestSteamDryer1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1CalcHelperMain.o] Error 1