Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1.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.TestStaticDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6997/0.6997, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.433e-05, allocations: 4 kB / 205.4 MB, free: 10.17 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 31.99 MB / 237.4 MB, free: 5.52 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.TestStaticDrum1): time 1.335/1.46, allocations: 297.8 MB / 0.5227 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4009/1.861, allocations: 191 MB / 0.7092 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008273/1.861, allocations: 14.16 kB / 0.7092 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005266/1.862, allocations: 164.7 kB / 0.7093 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/1.863, allocations: 445.9 kB / 0.7098 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02048/1.884, allocations: 9.88 MB / 0.7194 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001438/1.885, allocations: 1.851 MB / 0.7212 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006804/1.886, allocations: 0.9052 MB / 0.7221 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/1.886, allocations: 0.5849 MB / 0.7227 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/1.887, allocations: 0.6801 MB / 0.7233 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.171e-05/1.887, allocations: 87.72 kB / 0.7234 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02282/1.91, allocations: 18.15 MB / 0.7411 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/1.91, allocations: 285.9 kB / 0.7414 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007625/1.911, allocations: 0.8136 MB / 0.7422 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008962/1.92, allocations: 7.616 MB / 0.7497 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/1.92, allocations: 128 / 0.7497 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/1.92, allocations: 64 / 0.7497 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 1.483e-05/1.92, allocations: 0 / 0.7497 GB, free: 0 / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.004215/1.924, allocations: 2.549 MB / 0.7521 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/1.924, allocations: 8.625 kB / 0.7522 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/1.924, allocations: 199.9 kB / 0.7523 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/1.925, allocations: 0.6263 MB / 0.753 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/1.925, allocations: 149.2 kB / 0.7531 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/1.925, allocations: 190.4 kB / 0.7533 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/1.927, allocations: 2.058 MB / 0.7553 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/1.927, allocations: 8.75 kB / 0.7553 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/1.927, allocations: 86.03 kB / 0.7554 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/1.927, allocations: 52.19 kB / 0.7554 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/1.929, allocations: 1.2 MB / 0.7566 GB, free: 12.88 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.007684/1.937, allocations: 13.18 MB / 0.7695 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/1.937, allocations: 291 kB / 0.7697 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/1.937, allocations: 127.3 kB / 0.7699 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2969/2.234, allocations: 179.6 MB / 0.9453 GB, free: 244 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/2.234, allocations: 33.94 kB / 0.9453 GB, free: 204 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.934e-06/2.234, allocations: 0 / 0.9453 GB, free: 204 kB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.002508/2.237, allocations: 1.06 MB / 0.9464 GB, free: 15.23 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/2.237, allocations: 51.41 kB / 0.9464 GB, free: 15.17 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/2.238, allocations: 1.041 MB / 0.9474 GB, free: 14.38 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/2.238, allocations: 34.06 kB / 0.9475 GB, free: 14.34 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/2.238, allocations: 0.8431 MB / 0.9483 GB, free: 13.68 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/2.239, allocations: 149.1 kB / 0.9484 GB, free: 13.56 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/2.239, allocations: 122.3 kB / 0.9485 GB, free: 13.48 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001479/2.239, allocations: 408.4 kB / 0.9489 GB, free: 13.11 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/2.239, allocations: 225.2 kB / 0.9491 GB, free: 12.97 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006655/2.24, allocations: 0.8298 MB / 0.95 GB, free: 11.96 MB / 0.795 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/2.244, allocations: 2.147 MB / 0.952 GB, free: 9.945 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/2.244, allocations: 8 kB / 0.9521 GB, free: 9.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001842/2.246, allocations: 1.273 MB / 0.9533 GB, free: 9.066 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/2.246, allocations: 17.09 kB / 0.9533 GB, free: 9.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/2.246, allocations: 24 kB / 0.9533 GB, free: 9.031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009532/2.247, allocations: 0.4979 MB / 0.9538 GB, free: 8.551 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/2.248, allocations: 202.1 kB / 0.954 GB, free: 8.375 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/2.249, allocations: 1.898 MB / 0.9559 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/2.25, allocations: 245.7 kB / 0.9561 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/2.25, allocations: 64 kB / 0.9562 GB, free: 6.113 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: sensorT.h = $START.sensorT.h. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 36 (sourcePlug.fluid1,sourcePlug.C.ftype,StaticDrumTh1.Cs_sur.ftype,StaticDrumTh1.Cs_purg.ftype,StaticDrumTh1.Cs_sup.ftype,StaticDrumTh1.Cs_eva.ftype,StaticDrumTh1.Ce_eva.ftype,StaticDrumTh1.Ce_sup.ftype,StaticDrumTh1.Ce_steam.ftype,StaticDrumTh1.fluids[1],sinkP2.fluid1,singularPressureLossVALI1.fluid,singularPressureLossVALI2.fluid,sinkP1.fluid,sensorT.fluid,singularPressureLossVALI3.fluid,sensorT1.fluid,StaticDrumTh1.Ce_eco.diff_on_2,refXgas.C1.diff_on_2,singularPressureLossVALI2.C2.diff_on_1,StaticDrumTh1.Cs_sur.diff_on_2,StaticDrumTh1.Cs_sur.diff_on_1,sensorT1.C2.diff_on_1,StaticDrumTh1.Cs_purg.diff_on_2,StaticDrumTh1.Cs_purg.diff_on_1,singularPressureLossVALI1.C2.diff_on_1,StaticDrumTh1.Cs_sup.diff_on_1,StaticDrumTh1.Cs_eva.diff_on_1,StaticDrumTh1.Ce_eva.diff_on_2,StaticDrumTh1.Ce_sup.diff_on_2,StaticDrumTh1.Ce_steam.diff_on_2,StaticDrumTh1.Cs_sup.diff_on_2,StaticDrumTh1.Cs_eva.diff_on_2,StaticDrumTh1.Ce_eva.diff_on_1,StaticDrumTh1.Ce_sup.diff_on_1,StaticDrumTh1.Ce_steam.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004045/2.25, allocations: 334 kB / 0.9565 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/2.25, allocations: 106.7 kB / 0.9566 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/2.251, allocations: 0.5615 MB / 0.9571 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/2.251, allocations: 4 kB / 0.9571 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/2.251, allocations: 2.906 kB / 0.9571 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/2.251, allocations: 0 / 0.9571 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/2.252, allocations: 0.9044 MB / 0.958 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/2.252, allocations: 7.984 kB / 0.958 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/2.252, allocations: 23.97 kB / 0.9581 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008609/2.253, allocations: 472 kB / 0.9585 GB, free: 3.676 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/2.253, allocations: 9.859 kB / 0.9585 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/2.254, allocations: 1.843 MB / 0.9603 GB, free: 1.75 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/2.254, allocations: 2.906 kB / 0.9603 GB, free: 1.75 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009385/2.255, allocations: 0.6264 MB / 0.9609 GB, free: 1.105 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/2.256, allocations: 207.8 kB / 0.9611 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/2.256, allocations: 11.98 kB / 0.9611 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/2.256, allocations: 4 kB / 0.9611 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/2.256, allocations: 11.98 kB / 0.9612 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/2.256, allocations: 19.98 kB / 0.9612 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007017/2.257, allocations: 0.6478 MB / 0.9618 GB, free: 184 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/2.257, allocations: 0 / 0.9618 GB, free: 184 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.003307/2.26, allocations: 1.607 MB / 0.9634 GB, free: 14.57 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 (10): * Single equations (assignments): 7 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004365/2.264, allocations: 2.093 MB / 0.9654 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001074/2.265, allocations: 0.6708 MB / 0.9661 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/2.265, allocations: 5.859 kB / 0.9661 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004057/2.266, allocations: 209.6 kB / 0.9663 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/2.267, allocations: 280.6 kB / 0.9665 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/2.27, allocations: 2.465 MB / 0.969 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/2.27, allocations: 1.131 MB / 0.9701 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/2.27, allocations: 75.44 kB / 0.9701 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/2.27, allocations: 0 / 0.9701 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of Templates: time 0.1896/2.46, allocations: 52.98 MB / 1.022 GB, free: 439.5 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1.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.TestStaticDrum1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1CalcHelperMain.o] Error 1