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.8272/0.8272, allocations: 150.8 MB / 166.6 MB, free: 14.7 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003074, allocations: 19.97 kB / 204.7 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1933, allocations: 31.32 MB / 236 MB, free: 5.43 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipe): time 1.726/1.919, allocations: 293.8 MB / 0.5174 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2029/2.122, allocations: 183.7 MB / 0.6967 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/2.123, allocations: 0 / 0.6967 GB, free: 4.672 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:71:3-72:53:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:73:3-74:53:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:78:3-79:55:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:80:3-81:51:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:71:3-72:53:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:73:3-74:53:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:78:3-79:55:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:80:3-81:51:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005063/2.123, allocations: 116.6 kB / 0.6969 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004128/2.124, allocations: 166.7 kB / 0.697 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4377/2.562, allocations: 7.841 MB / 0.7047 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001573/2.563, allocations: 0.8719 MB / 0.7055 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/2.564, allocations: 312.5 kB / 0.7058 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005041/2.564, allocations: 330.4 kB / 0.7061 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/2.565, allocations: 372.8 kB / 0.7065 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/2.565, allocations: 42.12 kB / 0.7065 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03233/2.597, allocations: 17.22 MB / 0.7233 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004112/2.598, allocations: 138 kB / 0.7235 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006364/2.598, allocations: 329.1 kB / 0.7238 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01402/2.612, allocations: 6.423 MB / 0.7301 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/2.612, allocations: 1.094 kB / 0.7301 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.064e-06/2.612, allocations: 0 / 0.7301 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.683e-05/2.612, allocations: 0 / 0.7301 GB, free: 6.289 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.01025/2.623, allocations: 2.267 MB / 0.7323 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/2.623, allocations: 15.08 kB / 0.7323 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/2.623, allocations: 67.44 kB / 0.7324 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/2.624, allocations: 376.5 kB / 0.7327 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/2.624, allocations: 96.94 kB / 0.7328 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/2.624, allocations: 58.22 kB / 0.7329 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/2.626, allocations: 0.8754 MB / 0.7337 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/2.626, allocations: 2.812 kB / 0.7337 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/2.626, allocations: 20.31 kB / 0.7337 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/2.626, allocations: 20.11 kB / 0.7338 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00298/2.629, allocations: 0.9333 MB / 0.7347 GB, free: 4.652 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.0046/2.634, allocations: 3.904 MB / 0.7385 GB, free: 17.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/2.636, allocations: 0.7033 MB / 0.7392 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/2.637, allocations: 405.2 kB / 0.7396 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2271/2.864, allocations: 117.3 MB / 0.8541 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/2.865, allocations: 42.17 kB / 0.8542 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=71): time 2.905e-06/2.865, allocations: 0 / 0.8542 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=71): time 0.005014/2.87, allocations: 1.468 MB / 0.8556 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/2.87, allocations: 55.41 kB / 0.8557 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005584/2.87, allocations: 394.3 kB / 0.856 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.519e-05/2.87, allocations: 33.06 kB / 0.8561 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/2.871, allocations: 286.5 kB / 0.8563 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/2.871, allocations: 250.3 kB / 0.8566 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/2.871, allocations: 159.1 kB / 0.8567 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001849/2.871, allocations: 362.8 kB / 0.8571 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/2.873, allocations: 384.8 kB / 0.8574 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/2.874, allocations: 0.651 MB / 0.8581 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/2.877, allocations: 1.038 MB / 0.8591 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/2.877, allocations: 8 kB / 0.8591 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003611/2.88, allocations: 1.272 MB / 0.8603 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/2.88, allocations: 8 kB / 0.8603 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/2.88, allocations: 8 kB / 0.8604 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/2.883, allocations: 0.6196 MB / 0.861 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/2.884, allocations: 286.1 kB / 0.8612 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/2.886, allocations: 1.964 MB / 0.8631 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/2.887, allocations: 169.5 kB / 0.8633 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/2.887, allocations: 38.98 kB / 0.8633 GB, free: 3.785 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.0003545/2.888, allocations: 198 kB / 0.8635 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/2.888, allocations: 51.34 kB / 0.8636 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/2.891, allocations: 1.411 MB / 0.865 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00283/2.894, allocations: 1.109 MB / 0.866 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/2.894, allocations: 0 / 0.866 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/2.894, allocations: 7.969 kB / 0.8661 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/2.899, allocations: 2.307 MB / 0.8683 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/2.899, allocations: 0 / 0.8683 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/2.901, allocations: 335.3 kB / 0.8686 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003486/2.902, allocations: 217.8 kB / 0.8688 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.653e-05/2.902, allocations: 18.61 kB / 0.8689 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009105/2.903, allocations: 1.216 MB / 0.87 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/2.903, allocations: 4.031 kB / 0.87 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/2.907, allocations: 1.807 MB / 0.8718 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/2.907, allocations: 200.6 kB / 0.872 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/2.908, allocations: 18.11 kB / 0.872 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008394/2.908, allocations: 109.7 kB / 0.8721 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/2.909, allocations: 66.91 kB / 0.8722 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/2.909, allocations: 23.61 kB / 0.8722 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003078/2.909, allocations: 261 kB / 0.8725 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/2.909, allocations: 0 / 0.8725 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005457/2.914, allocations: 1.463 MB / 0.8739 GB, free: 10.9 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.009427/2.924, allocations: 2.191 MB / 0.876 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003763/2.928, allocations: 1.223 MB / 0.8772 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/2.928, allocations: 1.875 kB / 0.8772 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/2.929, allocations: 0.5942 MB / 0.8778 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/2.93, allocations: 204.1 kB / 0.878 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/2.934, allocations: 1.954 MB / 0.8799 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/2.934, allocations: 0.9352 MB / 0.8808 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/2.934, allocations: 66.91 kB / 0.8809 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/2.934, allocations: 3.938 kB / 0.8809 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of Templates: time 0.06075/2.995, allocations: 38.16 MB / 0.9181 GB, free: 14.67 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