Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2.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.TestVolumes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestVolumes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6892/0.6892, allocations: 150.8 MB / 166.7 MB, free: 15.6 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.32e-05/1.33e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 31.99 MB / 237.4 MB, free: 5.629 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.TestVolumes2): time 1.318/1.434, allocations: 298.4 MB / 0.5232 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.389/1.823, allocations: 186.9 MB / 0.7058 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007673/1.824, allocations: 10.88 kB / 0.7058 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006831/1.825, allocations: 275 kB / 0.706 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/1.826, allocations: 0.5262 MB / 0.7065 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0205/1.847, allocations: 9.33 MB / 0.7157 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001802/1.849, allocations: 1.985 MB / 0.7176 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005681/1.849, allocations: 0.6686 MB / 0.7182 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005684/1.85, allocations: 0.6653 MB / 0.7189 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005073/1.85, allocations: 0.6793 MB / 0.7196 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.394e-05/1.85, allocations: 52.72 kB / 0.7196 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02455/1.875, allocations: 20.19 MB / 0.7393 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/1.875, allocations: 238.1 kB / 0.7396 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008497/1.876, allocations: 0.7679 MB / 0.7403 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007595/1.884, allocations: 7.595 MB / 0.7477 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/1.884, allocations: 5.125 kB / 0.7477 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/1.884, allocations: 0 / 0.7477 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.659e-05/1.884, allocations: 0 / 0.7477 GB, free: 15.32 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: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.005006/1.889, allocations: 2.74 MB / 0.7504 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/1.889, allocations: 8.281 kB / 0.7504 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/1.889, allocations: 192.2 kB / 0.7506 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006317/1.89, allocations: 0.6577 MB / 0.7512 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/1.89, allocations: 99.17 kB / 0.7513 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.89, allocations: 119 kB / 0.7514 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/1.892, allocations: 1.669 MB / 0.7531 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/1.892, allocations: 5.469 kB / 0.7531 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/1.892, allocations: 54.69 kB / 0.7531 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/1.892, allocations: 69.84 kB / 0.7532 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/1.894, allocations: 1.174 MB / 0.7543 GB, free: 12.21 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.06622/1.96, allocations: 42.18 MB / 0.7955 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/1.961, allocations: 0.8958 MB / 0.7964 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008747/1.962, allocations: 0.6264 MB / 0.797 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2637/2.226, allocations: 151.8 MB / 0.9452 GB, free: 332 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/2.226, allocations: 42.91 kB / 0.9453 GB, free: 280 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=197): time 2.495e-06/2.226, allocations: 0 / 0.9453 GB, free: 280 kB / 0.7794 GB Notification: Performance of matching and sorting (n=197): time 0.01542/2.241, allocations: 4.396 MB / 0.9496 GB, free: 12.55 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/2.241, allocations: 111.5 kB / 0.9497 GB, free: 12.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/2.242, allocations: 0.8492 MB / 0.9505 GB, free: 11.74 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/2.242, allocations: 32.83 kB / 0.9505 GB, free: 11.71 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/2.243, allocations: 0.5786 MB / 0.9511 GB, free: 11.32 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/2.243, allocations: 0.629 MB / 0.9517 GB, free: 10.77 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/2.243, allocations: 153.2 kB / 0.9519 GB, free: 10.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/2.243, allocations: 309.1 kB / 0.9522 GB, free: 10.36 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000869/2.244, allocations: 495.6 kB / 0.9526 GB, free: 10.04 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/2.245, allocations: 0.8198 MB / 0.9534 GB, free: 9.305 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/2.247, allocations: 1.44 MB / 0.9548 GB, free: 8.223 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/2.247, allocations: 0 / 0.9548 GB, free: 8.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.00295/2.25, allocations: 1.941 MB / 0.9567 GB, free: 6.328 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/2.25, allocations: 12.16 kB / 0.9567 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/2.25, allocations: 8 kB / 0.9568 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006874/2.257, allocations: 2.567 MB / 0.9593 GB, free: 3.738 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/2.258, allocations: 127.5 kB / 0.9594 GB, free: 3.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/2.26, allocations: 1.856 MB / 0.9612 GB, free: 1.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/2.261, allocations: 202.1 kB / 0.9614 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/2.261, allocations: 51.98 kB / 0.9614 GB, free: 1.5 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 30 (volumeA.Cs2.b,volumeA.Cs1.b,volumeA.Ce2.a,volumeA.Ce1.a,volumeC.Ce3.a,volumeC.Cs.b,volumeC.Ce2.a,volumeC.Ce1.a,sinkP1.C.a,lumpedStraightPipe2.C2.b,lumpedStraightPipe2.C1.a,sinkP.C.a,controlValve4.C2.b,controlValve4.C1.a,controlValve3.C2.b,controlValve3.C1.a,controlValve2.C2.b,controlValve2.C1.a,controlValve1.C2.b,controlValve1.C1.a,controlValve.C2.b,controlValve.C1.a,lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,sourceP1.C.b,sourceP.C.b,volumeA.Ce1.b,volumeC.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(18,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0003907/2.262, allocations: 298.5 kB / 0.9617 GB, free: 1.211 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/2.262, allocations: 130.2 kB / 0.9618 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005537/2.267, allocations: 5.722 MB / 0.9674 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002819/2.27, allocations: 2.042 MB / 0.9694 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/2.27, allocations: 0 / 0.9694 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/2.27, allocations: 11.97 kB / 0.9694 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006036/2.276, allocations: 4.758 MB / 0.9741 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/2.276, allocations: 4 kB / 0.9741 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/2.277, allocations: 235.5 kB / 0.9743 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004614/2.282, allocations: 2.012 MB / 0.9763 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/2.282, allocations: 35.98 kB / 0.9763 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/2.284, allocations: 1.859 MB / 0.9781 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/2.284, allocations: 0 / 0.9781 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1443/2.428, allocations: 3.139 MB / 0.9812 GB, free: 459.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/2.429, allocations: 411.9 kB / 0.9816 GB, free: 459.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/2.429, allocations: 27.98 kB / 0.9816 GB, free: 459.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007076/2.43, allocations: 97.5 kB / 0.9817 GB, free: 459.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/2.43, allocations: 108.4 kB / 0.9818 GB, free: 459.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/2.43, allocations: 44.84 kB / 0.9818 GB, free: 459.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007754/2.431, allocations: 0.6898 MB / 0.9825 GB, free: 459.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/2.431, allocations: 3.688 kB / 0.9825 GB, free: 459.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003672/2.434, allocations: 1.822 MB / 0.9843 GB, free: 459.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volumeC.h,volumeA.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 (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(15,38)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005967/2.44, allocations: 2.355 MB / 0.9866 GB, free: 459.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003232/2.444, allocations: 2.225 MB / 0.9888 GB, free: 458.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/2.444, allocations: 0 / 0.9888 GB, free: 458.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/2.446, allocations: 1.071 MB / 0.9898 GB, free: 458.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/2.448, allocations: 0.6689 MB / 0.9905 GB, free: 458.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/2.452, allocations: 4.153 MB / 0.9945 GB, free: 456.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/2.452, allocations: 1.398 MB / 0.9959 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/2.453, allocations: 89.12 kB / 0.996 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/2.453, allocations: 0 / 0.996 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.0419/2.494, allocations: 50.11 MB / 1.045 GB, free: 425 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2.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.TestVolumes2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2CalcHelperMain.o] Error 1