Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipe.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.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipe") translateModel(ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6918/0.6918, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.274e-05/1.282e-05, allocations: 4 kB / 205.4 MB, free: 10.16 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 31.98 MB / 237.4 MB, free: 5.387 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.TestLumpedStraightPipe): time 1.317/1.436, allocations: 294.7 MB / 0.5197 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1591/1.595, allocations: 181.5 MB / 0.6969 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/1.595, allocations: 4 kB / 0.6969 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000293/1.596, allocations: 111.2 kB / 0.6971 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003594/1.596, allocations: 170.7 kB / 0.6972 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2435/1.84, allocations: 8.003 MB / 0.705 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009597/1.841, allocations: 0.8792 MB / 0.7059 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004071/1.841, allocations: 291.6 kB / 0.7062 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/1.842, allocations: 331.5 kB / 0.7065 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004262/1.842, allocations: 356.8 kB / 0.7068 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.001e-05/1.842, allocations: 36.72 kB / 0.7069 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02173/1.864, allocations: 17.32 MB / 0.7238 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/1.864, allocations: 124.3 kB / 0.7239 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003218/1.864, allocations: 346 kB / 0.7242 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005954/1.87, allocations: 6.327 MB / 0.7304 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/1.87, allocations: 2.219 kB / 0.7304 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/1.87, allocations: 0 / 0.7304 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.87, allocations: 0 / 0.7304 GB, free: 7.109 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005382/1.876, allocations: 2.232 MB / 0.7326 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/1.876, allocations: 8.219 kB / 0.7326 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/1.876, allocations: 74.31 kB / 0.7327 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/1.876, allocations: 360.4 kB / 0.733 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/1.876, allocations: 104.5 kB / 0.7331 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/1.876, allocations: 47.94 kB / 0.7332 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/1.878, allocations: 0.9255 MB / 0.7341 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/1.878, allocations: 2.203 kB / 0.7341 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/1.878, allocations: 21.5 kB / 0.7341 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/1.878, allocations: 20.77 kB / 0.7341 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/1.881, allocations: 1.013 MB / 0.7351 GB, free: 5.492 MB / 0.5762 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.002909/1.884, allocations: 3.93 MB / 0.7389 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/1.886, allocations: 0.778 MB / 0.7397 GB, free: 18.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/1.887, allocations: 447.9 kB / 0.7401 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2016/2.088, allocations: 118.3 MB / 0.8556 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/2.089, allocations: 34.25 kB / 0.8557 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=71): time 2.204e-06/2.089, allocations: 0 / 0.8557 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=71): time 0.004406/2.093, allocations: 1.597 MB / 0.8572 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/2.093, allocations: 59.41 kB / 0.8573 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/2.093, allocations: 398.8 kB / 0.8577 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/2.093, allocations: 33.08 kB / 0.8577 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/2.094, allocations: 293.5 kB / 0.858 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/2.094, allocations: 254.1 kB / 0.8582 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/2.094, allocations: 82.95 kB / 0.8583 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001214/2.094, allocations: 360.7 kB / 0.8586 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/2.095, allocations: 434 kB / 0.859 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/2.097, allocations: 0.6768 MB / 0.8597 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002626/2.099, allocations: 1.132 MB / 0.8608 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/2.099, allocations: 4 kB / 0.8608 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003346/2.103, allocations: 1.359 MB / 0.8621 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/2.103, allocations: 9.094 kB / 0.8621 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/2.103, allocations: 8 kB / 0.8622 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/2.105, allocations: 0.6935 MB / 0.8628 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/2.106, allocations: 335.4 kB / 0.8632 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/2.108, allocations: 1.962 MB / 0.8651 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/2.109, allocations: 187.1 kB / 0.8652 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/2.109, allocations: 43.36 kB / 0.8653 GB, free: 4.363 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 16 (lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,tank2.Cs1.b,tank2.Ce2.a,tank2.Cs2.b,tank2.Ce1.a,tank1.Cs1.b,tank1.Ce2.a,tank1.Cs2.b,tank1.Ce1.a,tank2.Cs2.a,tank2.Cs1.a,tank2.Ce1.b,tank1.Cs1.a,tank1.Ce2.b,tank1.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(3,9), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002206/2.109, allocations: 194.7 kB / 0.8655 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/2.109, allocations: 54.16 kB / 0.8655 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/2.112, allocations: 1.49 MB / 0.867 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002787/2.115, allocations: 1.204 MB / 0.8682 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/2.115, allocations: 3.984 kB / 0.8682 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/2.115, allocations: 3.984 kB / 0.8682 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004461/2.12, allocations: 2.409 MB / 0.8705 GB, free: 208 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/2.12, allocations: 0 / 0.8705 GB, free: 208 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/2.121, allocations: 379.9 kB / 0.8709 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/2.122, allocations: 217.3 kB / 0.8711 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/2.122, allocations: 18.92 kB / 0.8711 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006399/2.122, allocations: 1.221 MB / 0.8723 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/2.122, allocations: 0 / 0.8723 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004253/2.127, allocations: 1.94 MB / 0.8742 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/2.127, allocations: 205.7 kB / 0.8744 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/2.127, allocations: 15.06 kB / 0.8744 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007599/2.128, allocations: 119 kB / 0.8745 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/2.128, allocations: 71.64 kB / 0.8746 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/2.128, allocations: 23.69 kB / 0.8746 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002084/2.128, allocations: 256.9 kB / 0.8749 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/2.128, allocations: 0 / 0.8749 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0029/2.131, allocations: 1.471 MB / 0.8763 GB, free: 10.99 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (tank1.z,tank1.h,tank2.z,tank2.h,lumpedStraightPipe.Q) * 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 (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005006/2.136, allocations: 2.169 MB / 0.8784 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003197/2.139, allocations: 1.302 MB / 0.8797 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/2.139, allocations: 1.875 kB / 0.8797 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/2.141, allocations: 0.6384 MB / 0.8803 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/2.142, allocations: 204.5 kB / 0.8805 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/2.144, allocations: 2.064 MB / 0.8825 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/2.145, allocations: 0.9274 MB / 0.8834 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/2.145, allocations: 75.14 kB / 0.8835 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/2.145, allocations: 0 / 0.8835 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of Templates: time 0.03784/2.183, allocations: 37.46 MB / 0.9201 GB, free: 15.25 MB / 0.7637 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipe.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipe.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.TestLumpedStraightPipeCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipeCalcHelperMain.o] Error 1