Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.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.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6777/0.6777, allocations: 150.8 MB / 166.7 MB, free: 15.58 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.267e-05/1.268e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 31.98 MB / 237.4 MB, free: 5.379 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.TestSteamEngine): time 1.3/1.418, allocations: 294 MB / 0.519 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3971/1.815, allocations: 195.7 MB / 0.7101 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/1.815, allocations: 11.14 kB / 0.7101 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003754/1.816, allocations: 148.3 kB / 0.7102 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003233/1.816, allocations: 146.5 kB / 0.7104 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02293/1.839, allocations: 11.03 MB / 0.7212 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003659/1.839, allocations: 495.8 kB / 0.7216 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/1.84, allocations: 177 kB / 0.7218 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/1.84, allocations: 181.1 kB / 0.722 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/1.84, allocations: 170.2 kB / 0.7221 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/1.84, allocations: 13.12 kB / 0.7221 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03066/1.871, allocations: 25.71 MB / 0.7472 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/1.871, allocations: 57.64 kB / 0.7473 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/1.871, allocations: 217.2 kB / 0.7475 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/1.882, allocations: 8.351 MB / 0.7557 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.882, allocations: 0 / 0.7557 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.876e-06/1.882, allocations: 6.844 kB / 0.7557 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.148e-05/1.882, allocations: 1.859 kB / 0.7557 GB, free: 13.76 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.005154/1.887, allocations: 2.03 MB / 0.7577 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/1.887, allocations: 10.38 kB / 0.7577 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/1.887, allocations: 46.25 kB / 0.7577 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/1.888, allocations: 309.4 kB / 0.758 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/1.888, allocations: 29.47 kB / 0.758 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/1.888, allocations: 35.25 kB / 0.7581 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/1.888, allocations: 426.3 kB / 0.7585 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.888, allocations: 0 / 0.7585 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/1.888, allocations: 20.2 kB / 0.7585 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/1.888, allocations: 17.08 kB / 0.7585 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/1.889, allocations: 275 kB / 0.7588 GB, free: 11.96 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.0658/1.955, allocations: 33.15 MB / 0.7911 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/1.955, allocations: 106 kB / 0.7912 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.166e-05/1.955, allocations: 81.41 kB / 0.7913 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1224/2.077, allocations: 80.95 MB / 0.8704 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/2.077, allocations: 38.56 kB / 0.8704 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/2.077, allocations: 0 / 0.8704 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of matching and sorting (n=34): time 0.0007914/2.078, allocations: 426.5 kB / 0.8708 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/2.078, allocations: 51.41 kB / 0.8709 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/2.078, allocations: 306.2 kB / 0.8712 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/2.078, allocations: 31.56 kB / 0.8712 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/2.079, allocations: 224.5 kB / 0.8714 GB, free: 3.289 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/2.079, allocations: 113.1 kB / 0.8715 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/2.079, allocations: 44.75 kB / 0.8716 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001074/2.079, allocations: 345.5 kB / 0.8719 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/2.079, allocations: 73.91 kB / 0.872 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/2.079, allocations: 193.8 kB / 0.8721 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/2.079, allocations: 296.2 kB / 0.8724 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/2.079, allocations: 0 / 0.8724 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000553/2.08, allocations: 378.8 kB / 0.8728 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/2.08, allocations: 4 kB / 0.8728 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/2.08, allocations: 4 kB / 0.8728 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/2.08, allocations: 120.3 kB / 0.8729 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/2.08, allocations: 36.58 kB / 0.8729 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004075/2.081, allocations: 0.6139 MB / 0.8735 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/2.081, allocations: 43.19 kB / 0.8736 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/2.081, allocations: 17.86 kB / 0.8736 GB, free: 1.281 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,steamEngine1.fluid,puitsP.fluid,steamEngine1.C2.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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001508/2.081, allocations: 159.1 kB / 0.8738 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/2.081, allocations: 27.62 kB / 0.8738 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/2.082, allocations: 0.5625 MB / 0.8743 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004449/2.082, allocations: 408.8 kB / 0.8747 GB, free: 472 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/2.082, allocations: 0 / 0.8747 GB, free: 472 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/2.082, allocations: 3.844 kB / 0.8747 GB, free: 472 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/2.084, allocations: 1.178 MB / 0.8759 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/2.084, allocations: 0 / 0.8759 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/2.084, allocations: 52.81 kB / 0.8759 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/2.084, allocations: 128.9 kB / 0.876 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/2.084, allocations: 8.438 kB / 0.8761 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003428/2.084, allocations: 0.6219 MB / 0.8767 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/2.084, allocations: 3.984 kB / 0.8767 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/2.085, allocations: 0.538 MB / 0.8772 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/2.085, allocations: 148.3 kB / 0.8773 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/2.085, allocations: 4.562 kB / 0.8773 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/2.085, allocations: 11.84 kB / 0.8773 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/2.085, allocations: 22.09 kB / 0.8774 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/2.085, allocations: 10.38 kB / 0.8774 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001873/2.085, allocations: 221.1 kB / 0.8776 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.51e-07/2.085, allocations: 4 kB / 0.8776 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003763/2.089, allocations: 2.034 MB / 0.8796 GB, free: 12.05 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006347/2.096, allocations: 3.016 MB / 0.8825 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005251/2.096, allocations: 434.8 kB / 0.8829 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/2.096, allocations: 0 / 0.8829 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/2.096, allocations: 200.7 kB / 0.8831 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009874/2.097, allocations: 197.9 kB / 0.8833 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/2.098, allocations: 1.124 MB / 0.8844 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/2.099, allocations: 0.8479 MB / 0.8852 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/2.099, allocations: 35.44 kB / 0.8853 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/2.099, allocations: 0 / 0.8853 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of Templates: time 0.04384/2.143, allocations: 40.44 MB / 0.9248 GB, free: 14.53 MB / 0.7637 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.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.TestSteamEngineCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngineCalcHelperMain.o] Error 1