Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.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_VolumeA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7373/0.7373, allocations: 150.8 MB / 166.7 MB, free: 15.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.413e-05/1.41e-05, allocations: 4 kB / 205.4 MB, free: 9.789 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 31.98 MB / 237.4 MB, free: 5.32 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_VolumeA): time 1.427/1.564, allocations: 295.1 MB / 0.52 GB, free: 12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4381/2.002, allocations: 188.4 MB / 0.704 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/2.002, allocations: 14.28 kB / 0.704 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/2.003, allocations: 61.83 kB / 0.7041 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004751/2.003, allocations: 218 kB / 0.7043 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02178/2.025, allocations: 9.475 MB / 0.7135 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008113/2.026, allocations: 0.9469 MB / 0.7145 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/2.026, allocations: 419.2 kB / 0.7149 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/2.026, allocations: 322.7 kB / 0.7152 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/2.027, allocations: 363.6 kB / 0.7155 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/2.027, allocations: 42.16 kB / 0.7156 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02716/2.054, allocations: 20.24 MB / 0.7353 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/2.054, allocations: 147.1 kB / 0.7355 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004616/2.055, allocations: 411.4 kB / 0.7359 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009594/2.064, allocations: 7.108 MB / 0.7428 GB, free: 368 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/2.064, allocations: 2.531 kB / 0.7428 GB, free: 368 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/2.064, allocations: 1.656 kB / 0.7428 GB, free: 368 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.576e-06/2.064, allocations: 0 / 0.7428 GB, free: 368 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.004134/2.068, allocations: 2.112 MB / 0.7449 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/2.068, allocations: 9.438 kB / 0.7449 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/2.069, allocations: 103.2 kB / 0.745 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/2.069, allocations: 462.9 kB / 0.7454 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.336e-05/2.069, allocations: 120.2 kB / 0.7455 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/2.069, allocations: 85.03 kB / 0.7456 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/2.07, allocations: 0.8754 MB / 0.7465 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/2.07, allocations: 6.844 kB / 0.7465 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/2.07, allocations: 42.42 kB / 0.7465 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/2.07, allocations: 19.88 kB / 0.7465 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000955/2.071, allocations: 0.6725 MB / 0.7472 GB, free: 14.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.009253/2.081, allocations: 8.358 MB / 0.7553 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/2.081, allocations: 209.6 kB / 0.7555 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/2.081, allocations: 88.39 kB / 0.7556 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3509/2.432, allocations: 186.4 MB / 0.9377 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/2.432, allocations: 38.31 kB / 0.9377 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/2.432, allocations: 0 / 0.9377 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.002247/2.434, allocations: 0.7376 MB / 0.9384 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/2.434, allocations: 114.5 kB / 0.9386 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/2.435, allocations: 0.581 MB / 0.9391 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/2.435, allocations: 35.3 kB / 0.9392 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/2.435, allocations: 475.1 kB / 0.9396 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/2.435, allocations: 78 kB / 0.9397 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/2.436, allocations: 79.17 kB / 0.9398 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001142/2.436, allocations: 364.9 kB / 0.9401 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/2.436, allocations: 134.1 kB / 0.9402 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/2.436, allocations: 0.5059 MB / 0.9407 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/2.437, allocations: 0.77 MB / 0.9415 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/2.437, allocations: 4 kB / 0.9415 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001523/2.439, allocations: 0.8993 MB / 0.9424 GB, free: 4 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/2.439, allocations: 67.34 kB / 0.9424 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/2.439, allocations: 14.34 kB / 0.9424 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/2.439, allocations: 204.6 kB / 0.9426 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/2.44, allocations: 122.9 kB / 0.9427 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006641/2.44, allocations: 0.7596 MB / 0.9435 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/2.441, allocations: 102 kB / 0.9436 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/2.441, allocations: 47.67 kB / 0.9436 GB, free: 14.82 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 22 (volumeA.Cs1.ftype,volumeA.Cs2.ftype,volumeA.Cs2.diff_on_2,volumeA.Ce2.ftype,volumeA.Ce2.diff_on_1,sourcePQ1.C.ftype,volumeA.fluids[1],switchValve.C2.diff_on_1,volumeA.Cs1.diff_on_2,sink1.fluid,switchValve.fluid,switchValve1.fluid,constante1.yL.signal,constante.yL.signal,volumeA.fluid1,sourcePQ1.fluid1,volumeA.Cs1.diff_on_1,switchValve1.C2.diff_on_1,volumeA.Cs2.diff_on_1,volumeA.Ce2.diff_on_2,volumeA.Ce1.diff_on_2,sourcePQ1.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 {(4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002781/2.441, allocations: 289.1 kB / 0.9439 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/2.441, allocations: 59.25 kB / 0.944 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/2.442, allocations: 0.4973 MB / 0.9445 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/2.442, allocations: 4 kB / 0.9445 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/2.442, allocations: 0 / 0.9445 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/2.442, allocations: 0 / 0.9445 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/2.443, allocations: 0.5157 MB / 0.945 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/2.443, allocations: 4 kB / 0.945 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/2.443, allocations: 11.92 kB / 0.945 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005074/2.443, allocations: 182.3 kB / 0.9451 GB, free: 13.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/2.443, allocations: 7.062 kB / 0.9452 GB, free: 13.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006762/2.444, allocations: 0.7436 MB / 0.9459 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.444, allocations: 0 / 0.9459 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/2.445, allocations: 0.5672 MB / 0.9464 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/2.445, allocations: 159.1 kB / 0.9466 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/2.445, allocations: 11.5 kB / 0.9466 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/2.446, allocations: 10.89 kB / 0.9466 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/2.446, allocations: 15.86 kB / 0.9466 GB, free: 12.13 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/2.446, allocations: 8 kB / 0.9466 GB, free: 12.12 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003752/2.446, allocations: 375.6 kB / 0.947 GB, free: 11.84 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.41e-07/2.446, allocations: 0 / 0.947 GB, free: 11.84 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003742/2.45, allocations: 1.548 MB / 0.9485 GB, free: 10.4 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: 2 (constante.yL.signal,constante1.yL.signal) * Number of discrete states: 2 (constante.yL.signal,constante1.yL.signal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 {(4,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006326/2.456, allocations: 2.257 MB / 0.9507 GB, free: 8.449 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008027/2.457, allocations: 0.5056 MB / 0.9512 GB, free: 8.047 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.457, allocations: 320 / 0.9512 GB, free: 8.047 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/2.457, allocations: 227.1 kB / 0.9514 GB, free: 7.832 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/2.458, allocations: 121.3 kB / 0.9515 GB, free: 7.75 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/2.46, allocations: 1.345 MB / 0.9528 GB, free: 6.438 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/2.46, allocations: 0.8896 MB / 0.9537 GB, free: 5.52 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/2.46, allocations: 43.44 kB / 0.9538 GB, free: 5.477 MB / 0.795 GB Notification: Performance of SimCode: time 9.12e-07/2.46, allocations: 0 / 0.9538 GB, free: 5.477 MB / 0.795 GB Notification: Performance of Templates: time 0.1985/2.659, allocations: 33.5 MB / 0.9865 GB, free: 444.9 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.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_VolumeACalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeACalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeACalcHelperMain.o] Error 1