Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.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.Examples.SimpleExamples.TestVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes") translateModel(ThermoSysPro.Examples.SimpleExamples.TestVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6863/0.6863, allocations: 150.8 MB / 166.7 MB, free: 15.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.214e-05/1.215e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 31.98 MB / 237.4 MB, free: 5.418 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.Examples.SimpleExamples.TestVolumes): time 1.308/1.424, allocations: 298.6 MB / 0.5235 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3934/1.817, allocations: 187 MB / 0.7061 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008098/1.818, allocations: 12.59 kB / 0.7061 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007085/1.819, allocations: 285.9 kB / 0.7064 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/1.82, allocations: 0.5516 MB / 0.7069 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0195/1.84, allocations: 9.341 MB / 0.716 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001671/1.842, allocations: 2.097 MB / 0.7181 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005592/1.842, allocations: 0.6978 MB / 0.7188 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/1.843, allocations: 0.6871 MB / 0.7194 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/1.843, allocations: 0.6935 MB / 0.7201 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.611e-05/1.843, allocations: 54.28 kB / 0.7202 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02505/1.868, allocations: 20.2 MB / 0.7399 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003624/1.869, allocations: 244 kB / 0.7401 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/1.87, allocations: 0.7977 MB / 0.7409 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/1.88, allocations: 7.712 MB / 0.7484 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/1.88, allocations: 0 / 0.7484 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.372e-06/1.88, allocations: 0 / 0.7484 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.379e-05/1.88, allocations: 0 / 0.7484 GB, free: 15.01 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: 458 * Number of variables: 458 Notification: Performance of Generate backend data structure: time 0.005805/1.886, allocations: 2.792 MB / 0.7512 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/1.886, allocations: 8.656 kB / 0.7512 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/1.886, allocations: 194.2 kB / 0.7513 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/1.887, allocations: 0.6778 MB / 0.752 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/1.887, allocations: 99.02 kB / 0.7521 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/1.887, allocations: 133.7 kB / 0.7522 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/1.889, allocations: 1.779 MB / 0.754 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/1.889, allocations: 8.844 kB / 0.754 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/1.889, allocations: 55.06 kB / 0.754 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/1.889, allocations: 72.19 kB / 0.7541 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/1.891, allocations: 1.247 MB / 0.7553 GB, free: 11.81 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.08362/1.975, allocations: 51.61 MB / 0.8057 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/1.976, allocations: 0.8473 MB / 0.8065 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008876/1.977, allocations: 0.6435 MB / 0.8072 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2689/2.246, allocations: 151.8 MB / 0.9554 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/2.246, allocations: 46.48 kB / 0.9554 GB, free: 5.379 MB / 0.795 GB Notification: Performance of pre-optimization done (n=204): time 2.595e-06/2.246, allocations: 4 kB / 0.9554 GB, free: 5.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=204): time 0.007335/2.253, allocations: 3.125 MB / 0.9585 GB, free: 2.848 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/2.254, allocations: 137.1 kB / 0.9586 GB, free: 2.684 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008575/2.254, allocations: 0.8582 MB / 0.9594 GB, free: 2.004 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/2.254, allocations: 39.39 kB / 0.9595 GB, free: 1.969 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/2.255, allocations: 0.6086 MB / 0.9601 GB, free: 1.48 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/2.255, allocations: 0.6557 MB / 0.9607 GB, free: 0.832 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/2.255, allocations: 162.7 kB / 0.9609 GB, free: 0.668 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.175e-05/2.255, allocations: 304 kB / 0.9612 GB, free: 380 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009125/2.256, allocations: 0.5027 MB / 0.9617 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/2.258, allocations: 0.8829 MB / 0.9625 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/2.26, allocations: 1.53 MB / 0.964 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/2.26, allocations: 4 kB / 0.964 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003008/2.263, allocations: 2.032 MB / 0.966 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/2.263, allocations: 9.094 kB / 0.966 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/2.263, allocations: 16.16 kB / 0.966 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007193/2.27, allocations: 3.349 MB / 0.9693 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/2.27, allocations: 125.5 kB / 0.9694 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/2.273, allocations: 1.858 MB / 0.9712 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/2.274, allocations: 214 kB / 0.9714 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/2.274, allocations: 57.95 kB / 0.9715 GB, free: 5.594 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 34 (pipe2.C2.b,pipe2.C1.a,pipe1.C2.b,pipe1.C1.a,puitsP2.C.a,valve5.C2.b,valve5.C1.a,volumeB1.Cs2.b,volumeB1.Cs1.b,volumeB1.Ce2.a,volumeB1.Ce1.a,valve3.C2.b,valve3.C1.a,valve2.C2.b,valve2.C1.a,puitsP1.C.a,valve4.C2.b,valve4.C1.a,volumeA1.Cs2.b,volumeA1.Cs1.b,volumeA1.Ce2.a,volumeA1.Ce1.a,puitsP.C.a,volumeA.Cs2.b,volumeA.Cs1.b,volumeA.Ce2.a,volumeA.Ce1.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,volumeB1.Cs1.a,volumeA1.Ce2.b,volumeA.Ce2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(17,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0003895/2.274, allocations: 311.6 kB / 0.9718 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/2.274, allocations: 126.2 kB / 0.9719 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1462/2.421, allocations: 6.299 MB / 0.9781 GB, free: 459.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00308/2.424, allocations: 2.055 MB / 0.9801 GB, free: 458.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/2.424, allocations: 0 / 0.9801 GB, free: 458.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/2.424, allocations: 9.438 kB / 0.9801 GB, free: 458.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006287/2.43, allocations: 4.771 MB / 0.9847 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/2.43, allocations: 0.5 kB / 0.9847 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/2.431, allocations: 237.8 kB / 0.985 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003753/2.434, allocations: 1.639 MB / 0.9866 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/2.435, allocations: 30.62 kB / 0.9866 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/2.436, allocations: 2.63 MB / 0.9892 GB, free: 456.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.436, allocations: 0 / 0.9892 GB, free: 456.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/2.44, allocations: 3.132 MB / 0.9922 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/2.441, allocations: 422.1 kB / 0.9926 GB, free: 456 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/2.441, allocations: 25.22 kB / 0.9926 GB, free: 456 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/2.442, allocations: 98.31 kB / 0.9927 GB, free: 456 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/2.442, allocations: 110.6 kB / 0.9928 GB, free: 456 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/2.442, allocations: 42.12 kB / 0.9929 GB, free: 456 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000643/2.442, allocations: 0.7374 MB / 0.9936 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/2.443, allocations: 0 / 0.9936 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003458/2.446, allocations: 1.851 MB / 0.9954 GB, free: 455.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volumeA.h,volumeA1.h,volumeB1.P,volumeB1.h) * 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 (129): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(6,14), (6,14), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004619/2.451, allocations: 2.36 MB / 0.9977 GB, free: 455.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003092/2.454, allocations: 2.24 MB / 0.9999 GB, free: 455 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/2.454, allocations: 0 / 0.9999 GB, free: 455 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/2.456, allocations: 1.13 MB / 1.001 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/2.458, allocations: 0.695 MB / 1.002 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/2.462, allocations: 4.398 MB / 1.006 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/2.463, allocations: 1.423 MB / 1.007 GB, free: 452 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/2.463, allocations: 94.06 kB / 1.007 GB, free: 452 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/2.463, allocations: 3.969 kB / 1.007 GB, free: 452 MB / 0.8106 GB Notification: Performance of Templates: time 0.04708/2.51, allocations: 62.85 MB / 1.069 GB, free: 401.2 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.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.Examples.SimpleExamples.TestVolumesCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumesCalcHelperMain.o] Error 1