Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.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.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8504/0.8504, allocations: 150.8 MB / 166.6 MB, free: 14.37 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004245, allocations: 15.98 kB / 204.7 MB, free: 9.652 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1861, allocations: 31.32 MB / 236 MB, free: 5.508 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.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3): time 1.75/1.936, allocations: 293.7 MB / 0.5172 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.647/2.583, allocations: 195.4 MB / 0.7081 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007448/2.584, allocations: 7.344 kB / 0.7081 GB, free: 3.727 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:122:3-123:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:54:3-55:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002638/2.584, allocations: 50.72 kB / 0.7081 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005955/2.584, allocations: 197.9 kB / 0.7083 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03834/2.623, allocations: 10.33 MB / 0.7184 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0014/2.624, allocations: 0.7819 MB / 0.7192 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/2.625, allocations: 408.3 kB / 0.7195 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/2.625, allocations: 319.9 kB / 0.7199 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004212/2.626, allocations: 372.9 kB / 0.7202 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.876e-05/2.626, allocations: 48.22 kB / 0.7203 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04668/2.672, allocations: 22.57 MB / 0.7423 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004661/2.673, allocations: 258.9 kB / 0.7425 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006683/2.674, allocations: 457 kB / 0.743 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01928/2.693, allocations: 8.352 MB / 0.7511 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/2.693, allocations: 0 / 0.7511 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.914e-06/2.693, allocations: 0 / 0.7511 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.849e-05/2.693, allocations: 0 / 0.7511 GB, free: 15.46 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.00919/2.702, allocations: 2.784 MB / 0.7538 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/2.702, allocations: 9.969 kB / 0.7539 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/2.702, allocations: 134.9 kB / 0.754 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/2.703, allocations: 0.5588 MB / 0.7545 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/2.703, allocations: 50.14 kB / 0.7546 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.628e-05/2.703, allocations: 62.72 kB / 0.7546 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/2.705, allocations: 0.8497 MB / 0.7555 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/2.705, allocations: 2.906 kB / 0.7555 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/2.705, allocations: 29.25 kB / 0.7555 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/2.705, allocations: 15.22 kB / 0.7555 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/2.706, allocations: 0.8952 MB / 0.7564 GB, free: 12.79 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.01138/2.717, allocations: 8.105 MB / 0.7643 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/2.719, allocations: 0.9481 MB / 0.7652 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/2.72, allocations: 332.6 kB / 0.7655 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6917/3.411, allocations: 221.9 MB / 0.9822 GB, free: 449.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/3.411, allocations: 35.84 kB / 0.9823 GB, free: 449.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=40): time 2.494e-06/3.411, allocations: 0 / 0.9823 GB, free: 449.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.00443/3.416, allocations: 1.564 MB / 0.9838 GB, free: 449.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/3.416, allocations: 56.22 kB / 0.9839 GB, free: 449.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/3.417, allocations: 0.9613 MB / 0.9848 GB, free: 449.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/3.417, allocations: 29.83 kB / 0.9848 GB, free: 449 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/3.417, allocations: 0.5246 MB / 0.9853 GB, free: 448.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/3.418, allocations: 140.6 kB / 0.9855 GB, free: 448.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/3.418, allocations: 117.1 kB / 0.9856 GB, free: 448.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/3.418, allocations: 331 kB / 0.9859 GB, free: 448.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/3.418, allocations: 320.1 kB / 0.9862 GB, free: 448.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/3.419, allocations: 435.6 kB / 0.9866 GB, free: 448.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/3.42, allocations: 0.7445 MB / 0.9873 GB, free: 448.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/3.42, allocations: 1.688 kB / 0.9874 GB, free: 448.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001885/3.422, allocations: 1.105 MB / 0.9884 GB, free: 448.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/3.422, allocations: 5.594 kB / 0.9884 GB, free: 448.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/3.422, allocations: 4.156 kB / 0.9884 GB, free: 448.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006377/3.428, allocations: 1.063 MB / 0.9895 GB, free: 448.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/3.429, allocations: 82.41 kB / 0.9896 GB, free: 448.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/3.43, allocations: 1.291 MB / 0.9908 GB, free: 447.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/3.431, allocations: 66.81 kB / 0.9909 GB, free: 447.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/3.431, allocations: 25.08 kB / 0.9909 GB, free: 447.5 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (sourceP.C.ftype,centrifugalPump.fluid,sinkP.fluid,lumpedStraightPipe.fluid,sourceP.fluid1,sourceP.C.diff_on_2,lumpedStraightPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(3,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0004374/3.431, allocations: 287.7 kB / 0.9912 GB, free: 447.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/3.431, allocations: 101.5 kB / 0.9913 GB, free: 447.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/3.433, allocations: 1.058 MB / 0.9923 GB, free: 447.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/3.433, allocations: 6.031 kB / 0.9923 GB, free: 447.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/3.433, allocations: 0 / 0.9923 GB, free: 447.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/3.433, allocations: 2.688 kB / 0.9923 GB, free: 447.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/3.436, allocations: 1.843 MB / 0.9941 GB, free: 447 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/3.436, allocations: 0 / 0.9941 GB, free: 447 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/3.436, allocations: 63.44 kB / 0.9942 GB, free: 447 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002993/3.439, allocations: 0.5804 MB / 0.9947 GB, free: 446.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/3.44, allocations: 20.22 kB / 0.9948 GB, free: 446.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/3.441, allocations: 1.197 MB / 0.9959 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/3.441, allocations: 0 / 0.9959 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/3.443, allocations: 1.476 MB / 0.9974 GB, free: 446.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/3.443, allocations: 205.4 kB / 0.9976 GB, free: 446 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/3.443, allocations: 9.031 kB / 0.9976 GB, free: 446 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/3.444, allocations: 21.75 kB / 0.9976 GB, free: 446 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/3.444, allocations: 33.02 kB / 0.9976 GB, free: 446 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/3.444, allocations: 15.41 kB / 0.9976 GB, free: 446 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009165/3.445, allocations: 0.6575 MB / 0.9983 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/3.445, allocations: 0 / 0.9983 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007263/3.452, allocations: 1.932 MB / 1 GB, free: 445.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008371/3.461, allocations: 2.985 MB / 1.003 GB, free: 445.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001517/3.462, allocations: 0.7576 MB / 1.004 GB, free: 445.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/3.462, allocations: 0 / 1.004 GB, free: 445.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006714/3.463, allocations: 383 kB / 1.004 GB, free: 445.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007051/3.463, allocations: 113.9 kB / 1.004 GB, free: 445.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/3.466, allocations: 2.283 MB / 1.007 GB, free: 444.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/3.467, allocations: 1.052 MB / 1.008 GB, free: 443.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/3.467, allocations: 44.34 kB / 1.008 GB, free: 443.8 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/3.467, allocations: 0 / 1.008 GB, free: 443.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.05911/3.526, allocations: 42.36 MB / 1.049 GB, free: 412.8 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.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.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3CalcHelperMain.o] Error 1