Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2.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.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7098/0.7098, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.447e-05/1.447e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1279, allocations: 31.99 MB / 237.4 MB, free: 5.402 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.TestStaticDrum2): time 1.34/1.468, allocations: 297 MB / 0.5219 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3981/1.867, allocations: 190.8 MB / 0.7083 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004778/1.867, allocations: 16.03 kB / 0.7083 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003249/1.867, allocations: 141 kB / 0.7084 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006992/1.868, allocations: 394.1 kB / 0.7088 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02019/1.888, allocations: 9.858 MB / 0.7184 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001382/1.89, allocations: 1.619 MB / 0.72 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005761/1.89, allocations: 0.7036 MB / 0.7207 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/1.891, allocations: 0.5172 MB / 0.7212 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/1.891, allocations: 0.6013 MB / 0.7218 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.415e-05/1.891, allocations: 73.47 kB / 0.7218 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02346/1.915, allocations: 18.15 MB / 0.7396 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/1.915, allocations: 252.7 kB / 0.7398 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007189/1.916, allocations: 0.7 MB / 0.7405 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00775/1.924, allocations: 7.239 MB / 0.7476 GB, free: 48 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/1.924, allocations: 2.75 kB / 0.7476 GB, free: 48 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/1.924, allocations: 0 / 0.7476 GB, free: 48 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.749e-05/1.924, allocations: 0 / 0.7476 GB, free: 48 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 426 * Number of variables: 426 Notification: Performance of Generate backend data structure: time 0.00415/1.928, allocations: 2.397 MB / 0.7499 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/1.928, allocations: 8.469 kB / 0.7499 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/1.928, allocations: 175 kB / 0.7501 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/1.929, allocations: 0.5979 MB / 0.7507 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/1.929, allocations: 125.4 kB / 0.7508 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/1.929, allocations: 161.3 kB / 0.7509 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/1.931, allocations: 1.759 MB / 0.7527 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/1.931, allocations: 8.719 kB / 0.7527 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-05/1.931, allocations: 69.5 kB / 0.7527 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/1.931, allocations: 44.7 kB / 0.7528 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/1.932, allocations: 1.063 MB / 0.7538 GB, free: 13.14 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.07005/2.002, allocations: 42.27 MB / 0.7951 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/2.003, allocations: 271.5 kB / 0.7954 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/2.003, allocations: 123.9 kB / 0.7955 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.28/2.283, allocations: 153.3 MB / 0.9452 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/2.283, allocations: 32.53 kB / 0.9452 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=38): time 2.274e-06/2.283, allocations: 8 kB / 0.9452 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38): time 0.002072/2.285, allocations: 0.95 MB / 0.9462 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/2.285, allocations: 59.34 kB / 0.9462 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/2.286, allocations: 0.8128 MB / 0.947 GB, free: 144 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/2.286, allocations: 29.52 kB / 0.9471 GB, free: 112 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/2.286, allocations: 0.768 MB / 0.9478 GB, free: 15.47 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.015e-05/2.287, allocations: 153.3 kB / 0.9479 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/2.287, allocations: 124.5 kB / 0.9481 GB, free: 15.26 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001426/2.287, allocations: 383.7 kB / 0.9484 GB, free: 14.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/2.287, allocations: 194.6 kB / 0.9486 GB, free: 14.78 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/2.288, allocations: 0.8719 MB / 0.9495 GB, free: 13.69 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/2.289, allocations: 1.159 MB / 0.9506 GB, free: 12.49 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/2.289, allocations: 8 kB / 0.9506 GB, free: 12.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.001828/2.291, allocations: 1.25 MB / 0.9518 GB, free: 11.63 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/2.291, allocations: 16 kB / 0.9518 GB, free: 11.61 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/2.291, allocations: 25.86 kB / 0.9519 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008506/2.292, allocations: 472.9 kB / 0.9523 GB, free: 11.17 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/2.292, allocations: 206.5 kB / 0.9525 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/2.293, allocations: 1.825 MB / 0.9543 GB, free: 9.223 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007521/2.294, allocations: 223.8 kB / 0.9545 GB, free: 9.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/2.294, allocations: 71.3 kB / 0.9546 GB, free: 8.957 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 36 (StaticDrumTh1.Cs_sur.ftype,sourcePQ.C.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],singularPressureLossVALI1.fluid,singularPressureLossVALI2.fluid,sinkP1.fluid,sensorT.fluid,singularPressureLossVALI3.fluid,sinkP2.fluid,sensorT1.fluid,sourcePQ.fluid1,StaticDrumTh1.Cs_sur.diff_on_2,StaticDrumTh1.Cs_sur.diff_on_1,sensorT1.C2.diff_on_1,singularPressureLossVALI2.C2.diff_on_1,StaticDrumTh1.Ce_eco.diff_on_2,sensorT.C1.diff_on_2,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 (129): * Single equations (assignments): 126 * 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), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003477/2.294, allocations: 322.5 kB / 0.9549 GB, free: 8.738 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/2.294, allocations: 86.91 kB / 0.955 GB, free: 8.652 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/2.296, allocations: 0.5532 MB / 0.9555 GB, free: 8.227 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/2.296, allocations: 4 kB / 0.9555 GB, free: 8.223 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/2.296, allocations: 0 / 0.9555 GB, free: 8.223 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/2.296, allocations: 0 / 0.9555 GB, free: 8.223 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007816/2.296, allocations: 0.7868 MB / 0.9563 GB, free: 7.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/2.296, allocations: 0 / 0.9563 GB, free: 7.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/2.296, allocations: 28.75 kB / 0.9563 GB, free: 7.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007479/2.297, allocations: 434.8 kB / 0.9567 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/2.297, allocations: 7.688 kB / 0.9567 GB, free: 7.188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009545/2.298, allocations: 1.769 MB / 0.9585 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/2.298, allocations: 0 / 0.9585 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/2.299, allocations: 0.5975 MB / 0.959 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/2.299, allocations: 194.6 kB / 0.9592 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/2.299, allocations: 6.688 kB / 0.9592 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/2.3, allocations: 3.25 kB / 0.9592 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/2.3, allocations: 22.41 kB / 0.9593 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/2.3, allocations: 12 kB / 0.9593 GB, free: 4.723 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004822/2.3, allocations: 499.2 kB / 0.9598 GB, free: 4.355 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/2.3, allocations: 0 / 0.9598 GB, free: 4.355 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003046/2.303, allocations: 1.563 MB / 0.9613 GB, free: 2.895 MB / 0.795 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 (14): * Single equations (assignments): 11 * 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), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004292/2.307, allocations: 2.12 MB / 0.9633 GB, free: 1.082 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008909/2.308, allocations: 0.6201 MB / 0.964 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/2.308, allocations: 3.562 kB / 0.964 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/2.309, allocations: 190.7 kB / 0.9641 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/2.309, allocations: 165.6 kB / 0.9643 GB, free: 364 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/2.312, allocations: 2.171 MB / 0.9664 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/2.312, allocations: 1.063 MB / 0.9675 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/2.312, allocations: 75.42 kB / 0.9675 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/2.312, allocations: 0 / 0.9675 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.1834/2.496, allocations: 47.58 MB / 1.014 GB, free: 445.2 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2.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.TestStaticDrum2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2CalcHelperMain.o] Error 1