Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.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.TestVolumes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestVolumes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6765/0.6765, allocations: 150.8 MB / 166.7 MB, free: 15.46 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.424e-05, allocations: 4 kB / 205.4 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 31.97 MB / 237.4 MB, free: 5.18 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.TestVolumes1): time 1.311/1.43, allocations: 298.7 MB / 0.5235 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3887/1.818, allocations: 187 MB / 0.7061 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007929/1.819, allocations: 12 kB / 0.7061 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006933/1.82, allocations: 290.3 kB / 0.7064 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/1.821, allocations: 0.5567 MB / 0.7069 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01992/1.841, allocations: 9.334 MB / 0.716 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001733/1.843, allocations: 2.088 MB / 0.7181 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007572/1.844, allocations: 0.7009 MB / 0.7188 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008275/1.844, allocations: 0.6926 MB / 0.7194 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/1.845, allocations: 0.6856 MB / 0.7201 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-05/1.845, allocations: 56.38 kB / 0.7202 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02402/1.869, allocations: 20.2 MB / 0.7399 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/1.869, allocations: 244.9 kB / 0.7401 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008663/1.87, allocations: 0.7957 MB / 0.7409 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008701/1.879, allocations: 7.705 MB / 0.7484 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/1.879, allocations: 3.562 kB / 0.7484 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/1.879, allocations: 0 / 0.7484 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.35e-05/1.879, 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.005107/1.884, allocations: 2.799 MB / 0.7512 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/1.884, allocations: 8 kB / 0.7512 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/1.884, allocations: 190.6 kB / 0.7514 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/1.885, allocations: 0.6715 MB / 0.752 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/1.885, allocations: 101.8 kB / 0.7521 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/1.885, allocations: 130.3 kB / 0.7522 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/1.887, allocations: 1.784 MB / 0.754 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.887, allocations: 4.688 kB / 0.754 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/1.887, allocations: 57.25 kB / 0.754 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/1.887, allocations: 71.75 kB / 0.7541 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/1.889, allocations: 1.246 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.08278/1.972, allocations: 51.61 MB / 0.8057 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/1.973, allocations: 0.8538 MB / 0.8065 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008833/1.974, allocations: 0.6376 MB / 0.8072 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2677/2.242, allocations: 151.8 MB / 0.9554 GB, free: 5.398 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/2.242, allocations: 39.69 kB / 0.9554 GB, free: 5.359 MB / 0.795 GB Notification: Performance of pre-optimization done (n=204): time 2.395e-06/2.242, allocations: 0 / 0.9554 GB, free: 5.359 MB / 0.795 GB Notification: Performance of matching and sorting (n=204): time 0.007242/2.249, allocations: 3.127 MB / 0.9585 GB, free: 2.828 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/2.249, allocations: 147.8 kB / 0.9586 GB, free: 2.66 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008563/2.25, allocations: 0.8551 MB / 0.9594 GB, free: 1.984 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/2.25, allocations: 31.77 kB / 0.9595 GB, free: 1.953 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/2.251, allocations: 0.6132 MB / 0.9601 GB, free: 1.496 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/2.251, allocations: 0.651 MB / 0.9607 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/2.251, allocations: 165.6 kB / 0.9609 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/2.251, allocations: 301.1 kB / 0.9612 GB, free: 396 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000913/2.252, allocations: 0.5105 MB / 0.9617 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/2.253, allocations: 0.8772 MB / 0.9625 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/2.255, allocations: 1.529 MB / 0.964 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/2.255, allocations: 8 kB / 0.964 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003007/2.259, allocations: 2.032 MB / 0.966 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/2.259, allocations: 13.09 kB / 0.966 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/2.259, allocations: 9.859 kB / 0.966 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007116/2.266, allocations: 3.349 MB / 0.9693 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/2.266, allocations: 135.5 kB / 0.9694 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/2.269, allocations: 1.847 MB / 0.9712 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/2.27, allocations: 222 kB / 0.9714 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/2.27, allocations: 48 kB / 0.9715 GB, free: 5.605 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.Ce3.a,volumeB1.Cs.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,volumeD1.Cs3.b,volumeD1.Cs2.b,volumeD1.Cs1.b,volumeD1.Ce.a,puitsP.C.a,volumeD.Cs3.b,volumeD.Cs2.b,volumeD.Cs1.b,volumeD.Ce.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,volumeB1.Ce1.b,volumeD1.Cs1.a,volumeD.Cs1.a) * 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.27, allocations: 307.6 kB / 0.9718 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/2.27, allocations: 138.1 kB / 0.9719 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1493/2.419, allocations: 6.303 MB / 0.9781 GB, free: 459 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003128/2.423, allocations: 2.056 MB / 0.9801 GB, free: 458.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/2.423, allocations: 0 / 0.9801 GB, free: 458.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/2.423, allocations: 8.812 kB / 0.9801 GB, free: 458.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006334/2.429, allocations: 4.779 MB / 0.9847 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/2.429, allocations: 3.062 kB / 0.9847 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/2.43, allocations: 239.1 kB / 0.985 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00368/2.433, allocations: 1.633 MB / 0.9866 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/2.433, allocations: 37.64 kB / 0.9866 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/2.435, allocations: 2.624 MB / 0.9892 GB, free: 456.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.435, allocations: 3.125 kB / 0.9892 GB, free: 456.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004006/2.439, allocations: 3.134 MB / 0.9922 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/2.44, allocations: 427.8 kB / 0.9926 GB, free: 456 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/2.44, allocations: 25.38 kB / 0.9927 GB, free: 456 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006584/2.441, allocations: 97.3 kB / 0.9928 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/2.441, allocations: 112.6 kB / 0.9929 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/2.441, allocations: 37.77 kB / 0.9929 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006582/2.442, allocations: 0.7379 MB / 0.9936 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/2.442, allocations: 0.8125 kB / 0.9936 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003544/2.445, allocations: 1.847 MB / 0.9954 GB, free: 455.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volumeD.h,volumeD1.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.005459/2.451, allocations: 2.358 MB / 0.9977 GB, free: 455.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003108/2.454, allocations: 2.245 MB / 0.9999 GB, free: 455 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/2.454, allocations: 3.281 kB / 0.9999 GB, free: 455 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001831/2.456, allocations: 1.128 MB / 1.001 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/2.458, allocations: 0.6894 MB / 1.002 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/2.462, allocations: 4.397 MB / 1.006 GB, free: 452.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/2.463, allocations: 1.426 MB / 1.007 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/2.463, allocations: 97.5 kB / 1.007 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/2.463, allocations: 0 / 1.007 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.04672/2.509, allocations: 62.86 MB / 1.069 GB, free: 401.2 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.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.TestVolumes1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1CalcHelperMain.o] Error 1