Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5.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.TestJunctions5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6831/0.6831, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.427e-05/1.434e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 31.98 MB / 237.4 MB, free: 5.219 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.TestJunctions5): time 1.315/1.435, allocations: 298.4 MB / 0.5232 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.389/1.824, allocations: 186.9 MB / 0.7057 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007682/1.825, allocations: 13.59 kB / 0.7058 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007064/1.826, allocations: 287.2 kB / 0.706 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/1.827, allocations: 0.5251 MB / 0.7065 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01997/1.847, allocations: 9.288 MB / 0.7156 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001572/1.849, allocations: 1.981 MB / 0.7175 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000528/1.849, allocations: 0.6677 MB / 0.7182 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005358/1.85, allocations: 0.6627 MB / 0.7188 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/1.85, allocations: 0.6645 MB / 0.7195 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.257e-05/1.85, allocations: 57.72 kB / 0.7195 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02389/1.874, allocations: 20.2 MB / 0.7393 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002355/1.874, allocations: 235.4 kB / 0.7395 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008222/1.875, allocations: 0.7596 MB / 0.7402 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007981/1.883, allocations: 7.635 MB / 0.7477 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/1.883, allocations: 0 / 0.7477 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/1.883, allocations: 0 / 0.7477 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.331e-05/1.883, allocations: 3.281 kB / 0.7477 GB, free: 15.04 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.004797/1.888, allocations: 2.735 MB / 0.7504 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/1.888, allocations: 9.469 kB / 0.7504 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/1.888, allocations: 187.2 kB / 0.7506 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/1.889, allocations: 0.6455 MB / 0.7512 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/1.889, allocations: 98.83 kB / 0.7513 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/1.889, allocations: 122.2 kB / 0.7514 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/1.891, allocations: 1.719 MB / 0.7531 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.891, allocations: 6.469 kB / 0.7531 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/1.891, allocations: 50.69 kB / 0.7531 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/1.891, allocations: 68.67 kB / 0.7532 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/1.893, allocations: 1.199 MB / 0.7544 GB, free: 11.93 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.08416/1.977, allocations: 51.35 MB / 0.8045 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/1.978, allocations: 0.8315 MB / 0.8053 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008971/1.979, allocations: 0.6503 MB / 0.806 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2702/2.25, allocations: 151.8 MB / 0.9542 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/2.25, allocations: 40.62 kB / 0.9542 GB, free: 5.984 MB / 0.795 GB Notification: Performance of pre-optimization done (n=204): time 2.485e-06/2.25, allocations: 0 / 0.9542 GB, free: 5.984 MB / 0.795 GB Notification: Performance of matching and sorting (n=204): time 0.007783/2.257, allocations: 3.2 MB / 0.9573 GB, free: 3.395 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/2.257, allocations: 89.66 kB / 0.9574 GB, free: 3.289 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/2.258, allocations: 0.7985 MB / 0.9582 GB, free: 2.652 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/2.258, allocations: 40.52 kB / 0.9583 GB, free: 2.617 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/2.259, allocations: 0.5613 MB / 0.9588 GB, free: 2.227 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/2.259, allocations: 0.6532 MB / 0.9594 GB, free: 1.652 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/2.259, allocations: 154.4 kB / 0.9596 GB, free: 1.547 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.805e-05/2.259, allocations: 304.7 kB / 0.9599 GB, free: 1.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000888/2.26, allocations: 0.4961 MB / 0.9604 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/2.261, allocations: 0.8213 MB / 0.9612 GB, free: 136 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/2.263, allocations: 1.448 MB / 0.9626 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/2.263, allocations: 7.938 kB / 0.9626 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.002926/2.266, allocations: 1.921 MB / 0.9645 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/2.266, allocations: 8 kB / 0.9645 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/2.266, allocations: 8 kB / 0.9645 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00635/2.273, allocations: 2.304 MB / 0.9667 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/2.273, allocations: 120.6 kB / 0.9668 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/2.275, allocations: 1.692 MB / 0.9685 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/2.276, allocations: 206.1 kB / 0.9687 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/2.276, allocations: 51.98 kB / 0.9687 GB, free: 8.316 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 30 (splitter2_2.Cs2.b,splitter2_2.Cs1.b,splitter2_2.Ce.a,splitter2_1.Cs2.b,splitter2_1.Cs1.b,splitter2_1.Ce.a,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,puitsP.C.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,volumeB1.Cs1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0003766/2.276, allocations: 292.2 kB / 0.969 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/2.277, allocations: 126.2 kB / 0.9691 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005905/2.283, allocations: 6.146 MB / 0.9751 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1435/2.426, allocations: 2.044 MB / 0.9771 GB, free: 458.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/2.426, allocations: 0 / 0.9771 GB, free: 458.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/2.426, allocations: 12.36 kB / 0.9771 GB, free: 458.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00662/2.433, allocations: 4.778 MB / 0.9818 GB, free: 458.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/2.433, allocations: 0 / 0.9818 GB, free: 458.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/2.433, allocations: 226.4 kB / 0.982 GB, free: 458.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004094/2.437, allocations: 1.738 MB / 0.9837 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-05/2.438, allocations: 32.12 kB / 0.9838 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/2.44, allocations: 2.68 MB / 0.9864 GB, free: 456.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/2.44, allocations: 0.5625 kB / 0.9864 GB, free: 456.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/2.444, allocations: 3.123 MB / 0.9894 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/2.444, allocations: 409.6 kB / 0.9898 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/2.444, allocations: 30.56 kB / 0.9898 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/2.445, allocations: 97.86 kB / 0.9899 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/2.445, allocations: 112.7 kB / 0.99 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.949e-05/2.445, allocations: 42.75 kB / 0.9901 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000637/2.446, allocations: 0.7097 MB / 0.9908 GB, free: 456 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.61e-07/2.446, allocations: 0 / 0.9908 GB, free: 456 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003421/2.449, allocations: 1.829 MB / 0.9926 GB, free: 455.9 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (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 (127): * Single equations (assignments): 120 * 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 {(7,14), (7,14), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005929/2.455, allocations: 2.347 MB / 0.9949 GB, free: 455.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003072/2.458, allocations: 2.213 MB / 0.997 GB, free: 455.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/2.458, allocations: 0 / 0.997 GB, free: 455.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/2.46, allocations: 1.129 MB / 0.9981 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.00282/2.463, allocations: 0.6769 MB / 0.9988 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/2.467, allocations: 4.176 MB / 1.003 GB, free: 453 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/2.467, allocations: 1.397 MB / 1.004 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/2.468, allocations: 94.12 kB / 1.004 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/2.468, allocations: 3.25 kB / 1.004 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.04952/2.517, allocations: 61.83 MB / 1.065 GB, free: 404.5 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5.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.TestJunctions5CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5CalcHelperMain.o] Error 1