Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe.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.TestDiffusion_DynamicTwoPhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7342/0.7342, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.231e-05/1.231e-05, allocations: 4 kB / 205.4 MB, free: 10.16 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, 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.TestDiffusion_DynamicTwoPhaseFlowPipe): time 1.428/1.562, allocations: 299.1 MB / 0.5239 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4411/2.003, allocations: 194.5 MB / 0.7138 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007093/2.004, allocations: 26.31 kB / 0.7139 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006875/2.004, allocations: 388.1 kB / 0.7142 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/2.006, allocations: 1.234 MB / 0.7154 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02492/2.031, allocations: 10.84 MB / 0.726 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01495/2.046, allocations: 20.44 MB / 0.746 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008498/2.055, allocations: 6.098 MB / 0.7519 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01019/2.065, allocations: 6.049 MB / 0.7579 GB, free: 0 / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0134/2.078, allocations: 7.923 MB / 0.7656 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003029/2.081, allocations: 0.6485 MB / 0.7662 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04129/2.123, allocations: 22.34 MB / 0.788 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005947/2.129, allocations: 4.341 MB / 0.7923 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009016/2.138, allocations: 5.801 MB / 0.7979 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02303/2.161, allocations: 18.34 MB / 0.8159 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/2.161, allocations: 4 kB / 0.8159 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.697e-06/2.161, allocations: 7.984 kB / 0.8159 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002345/2.161, allocations: 2.625 kB / 0.8159 GB, free: 3.41 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.0549/2.216, allocations: 15.28 MB / 0.8308 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/2.216, allocations: 8.031 kB / 0.8308 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004081/2.22, allocations: 1.058 MB / 0.8318 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008613/2.229, allocations: 4.11 MB / 0.8358 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005894/2.235, allocations: 4.501 MB / 0.8402 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004951/2.24, allocations: 0.75 MB / 0.841 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05485/2.294, allocations: 22.72 MB / 0.8632 GB, free: 2.391 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003458/2.295, allocations: 0 / 0.8632 GB, free: 2.391 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003565/2.298, allocations: 322.4 kB / 0.8635 GB, free: 2.078 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002791/2.299, allocations: 315.8 kB / 0.8638 GB, free: 1.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07901/2.378, allocations: 33.85 MB / 0.8968 GB, free: 15.89 MB / 0.7169 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.1398/2.517, allocations: 74.24 MB / 0.9693 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3722/2.89, allocations: 25.58 MB / 0.9943 GB, free: 399.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0347/2.924, allocations: 17.75 MB / 1.012 GB, free: 396.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2711/3.196, allocations: 173.3 MB / 1.181 GB, free: 214.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/3.196, allocations: 173.8 kB / 1.181 GB, free: 214.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2307): time 1.533e-05/3.196, allocations: 0 / 1.181 GB, free: 214.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2307): time 0.1291/3.325, allocations: 60.77 MB / 1.24 GB, free: 153.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/3.325, allocations: 271 kB / 1.241 GB, free: 153.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/3.327, allocations: 1.968 MB / 1.243 GB, free: 151.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.00319/3.33, allocations: 237.7 kB / 1.243 GB, free: 150.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006462/3.331, allocations: 1.349 MB / 1.244 GB, free: 149.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.006351/3.337, allocations: 7.542 MB / 1.251 GB, free: 142 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003472/3.341, allocations: 1.318 MB / 1.253 GB, free: 140.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 4.928e-05/3.341, allocations: 305.1 kB / 1.253 GB, free: 140.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03097/3.372, allocations: 15.28 MB / 1.268 GB, free: 125.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03279/3.405, allocations: 16.96 MB / 1.284 GB, free: 107.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06369/3.469, allocations: 32.3 MB / 1.316 GB, free: 75.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.471e-05/3.469, allocations: 8 kB / 1.316 GB, free: 75.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2410) (initialization): time 0.0961/3.565, allocations: 43.27 MB / 1.358 GB, free: 31.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/3.565, allocations: 63.41 kB / 1.358 GB, free: 31.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/3.565, allocations: 67.97 kB / 1.358 GB, free: 31.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3312/3.896, allocations: 62.43 MB / 1.419 GB, free: 387.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01779/3.914, allocations: 3.501 MB / 1.423 GB, free: 387.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06458/3.979, allocations: 59.97 MB / 1.481 GB, free: 346.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01937/3.998, allocations: 3.809 MB / 1.485 GB, free: 343.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003637/4.002, allocations: 0.6339 MB / 1.486 GB, free: 342.7 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 17 (sourceP1.C.ftype,dynamicTwoPhaseFlowPipe1.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.C.ftype,switchValve.C2.diff_on_1,dynamicTwoPhaseFlowPipe.fluid,sinkP.fluid,switchValve.fluid,nONL.yL.signal,echelon.yL.signal,sourceP.fluid1,dynamicTwoPhaseFlowPipe1.C1.diff_on_2,dynamicTwoPhaseFlowPipe1.C2.diff_on_1,dynamicTwoPhaseFlowPipe.C1.diff_on_2,sourceP.C.diff_on_2,dynamicTwoPhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (717): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(32,313), (33,317)} Notification: Performance of prepare postOptimizeDAE: time 0.008982/4.011, allocations: 2.596 MB / 1.488 GB, free: 340.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00356/4.014, allocations: 0.806 MB / 1.489 GB, free: 339.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1059/4.12, allocations: 52.05 MB / 1.54 GB, free: 288.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09496/4.215, allocations: 44.77 MB / 1.584 GB, free: 243.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.215e-05/4.215, allocations: 8 kB / 1.584 GB, free: 243.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003958/4.216, allocations: 87.66 kB / 1.584 GB, free: 243.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1745/4.39, allocations: 82.1 MB / 1.664 GB, free: 160.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003293/4.391, allocations: 47.98 kB / 1.664 GB, free: 160.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01823/4.409, allocations: 3.976 MB / 1.668 GB, free: 156.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1387/4.547, allocations: 55.32 MB / 1.722 GB, free: 101 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004402/4.552, allocations: 0.5462 MB / 1.722 GB, free: 100.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2377/4.79, allocations: 57.63 MB / 1.779 GB, free: 361.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/4.79, allocations: 12.09 kB / 1.779 GB, free: 361.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09488/4.885, allocations: 45.27 MB / 1.823 GB, free: 355.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008769/4.893, allocations: 3.672 MB / 1.826 GB, free: 353.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004241/4.898, allocations: 289.8 kB / 1.827 GB, free: 353.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01932/4.917, allocations: 2.948 MB / 1.83 GB, free: 353.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004754/4.922, allocations: 1.141 MB / 1.831 GB, free: 353.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004052/4.926, allocations: 0.6541 MB / 1.831 GB, free: 353 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001936/4.928, allocations: 1.444 MB / 1.833 GB, free: 352.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.11e-07/4.928, allocations: 0 / 1.833 GB, free: 352.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01716/4.945, allocations: 5.682 MB / 1.838 GB, free: 348 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 2 (echelon.yL.signal,nONL.yL.signal) * Number of discrete states: 2 (echelon.yL.signal,nONL.yL.signal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1091): * Single equations (assignments): 1047 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(32,315), (33,318)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01128/4.956, allocations: 3.065 MB / 1.841 GB, free: 345.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.08469/5.041, allocations: 45.37 MB / 1.886 GB, free: 301.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/5.041, allocations: 4 kB / 1.886 GB, free: 301.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.04646/5.088, allocations: 24.34 MB / 1.909 GB, free: 276.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02411/5.112, allocations: 3.7 MB / 1.913 GB, free: 273.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1171/5.229, allocations: 53.34 MB / 1.965 GB, free: 219.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004788/5.234, allocations: 6.468 MB / 1.971 GB, free: 213.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006088/5.24, allocations: 1.014 MB / 1.972 GB, free: 212.2 MB / 0.7794 GB Notification: Performance of SimCode: time 9.51e-07/5.24, allocations: 0 / 1.972 GB, free: 212.2 MB / 0.7794 GB Notification: Performance of Templates: time 1.317/6.557, allocations: 1.026 GB / 2.999 GB, free: 125.7 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe.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.TestDiffusion_DynamicTwoPhaseFlowPipeCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipeCalcHelperMain.o] Error 1