Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8435/0.8435, allocations: 150.9 MB / 166.6 MB, free: 14.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 15.98 kB / 204.7 MB, free: 9.652 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2045, allocations: 31.32 MB / 236 MB, free: 5.469 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.SimpleExamples.TestStaticCentrifugalPump1): time 1.79/1.994, allocations: 292.8 MB / 0.5164 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2184/2.213, allocations: 188.4 MB / 0.7003 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003437/2.213, allocations: 7.938 kB / 0.7004 GB, free: 0.9141 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64: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/StaticCentrifugalPump.mo:65:3-66: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/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). Notification: Performance of NFTyping.typeComponents: time 0.0001431/2.213, allocations: 28.75 kB / 0.7004 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003375/2.214, allocations: 111.2 kB / 0.7005 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4256/2.639, allocations: 8.641 MB / 0.7089 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001092/2.64, allocations: 415.1 kB / 0.7093 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/2.641, allocations: 209.8 kB / 0.7095 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/2.641, allocations: 157.5 kB / 0.7097 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/2.642, allocations: 184 kB / 0.7098 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.706e-05/2.642, allocations: 25.53 kB / 0.7099 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04168/2.683, allocations: 19.82 MB / 0.7292 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/2.684, allocations: 71.86 kB / 0.7293 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003736/2.684, allocations: 193 kB / 0.7295 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0145/2.699, allocations: 6.725 MB / 0.736 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/2.699, allocations: 0.8438 kB / 0.736 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.126e-06/2.699, allocations: 4.797 kB / 0.7361 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.005e-06/2.699, allocations: 2.938 kB / 0.7361 GB, free: 2.711 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.006741/2.705, allocations: 1.785 MB / 0.7378 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/2.705, allocations: 8.406 kB / 0.7378 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/2.706, allocations: 47.5 kB / 0.7379 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/2.706, allocations: 300.8 kB / 0.7381 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/2.706, allocations: 27.22 kB / 0.7382 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/2.706, allocations: 34.41 kB / 0.7382 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/2.707, allocations: 384.2 kB / 0.7386 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/2.707, allocations: 0 / 0.7386 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/2.707, allocations: 24.86 kB / 0.7386 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/2.707, allocations: 10.44 kB / 0.7386 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/2.707, allocations: 255.1 kB / 0.7388 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008222/2.715, allocations: 6.161 MB / 0.7449 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/2.717, allocations: 308.5 kB / 0.7452 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/2.717, allocations: 59 kB / 0.7452 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1544/2.872, allocations: 82.03 MB / 0.8253 GB, free: 10.74 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/2.872, allocations: 30.56 kB / 0.8253 GB, free: 10.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 2.385e-06/2.872, allocations: 0 / 0.8253 GB, free: 10.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.005227/2.877, allocations: 0.9042 MB / 0.8262 GB, free: 9.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/2.877, allocations: 58.31 kB / 0.8263 GB, free: 9.773 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/2.878, allocations: 311.5 kB / 0.8266 GB, free: 9.523 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/2.878, allocations: 29.2 kB / 0.8266 GB, free: 9.492 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/2.878, allocations: 235.9 kB / 0.8268 GB, free: 9.301 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/2.878, allocations: 54.52 kB / 0.8269 GB, free: 9.258 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/2.878, allocations: 59.31 kB / 0.8269 GB, free: 9.211 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001279/2.878, allocations: 340.8 kB / 0.8273 GB, free: 8.883 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/2.878, allocations: 68.89 kB / 0.8273 GB, free: 8.836 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/2.878, allocations: 168.6 kB / 0.8275 GB, free: 8.656 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/2.879, allocations: 239.7 kB / 0.8277 GB, free: 8.445 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/2.879, allocations: 4 kB / 0.8277 GB, free: 8.441 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002438/2.881, allocations: 0.5618 MB / 0.8283 GB, free: 7.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/2.881, allocations: 12.22 kB / 0.8283 GB, free: 7.969 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/2.881, allocations: 4 kB / 0.8283 GB, free: 7.965 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007595/2.882, allocations: 162.6 kB / 0.8284 GB, free: 7.828 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/2.882, allocations: 41.89 kB / 0.8285 GB, free: 7.793 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007463/2.883, allocations: 0.6832 MB / 0.8292 GB, free: 7.145 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/2.883, allocations: 43.19 kB / 0.8292 GB, free: 7.105 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/2.883, allocations: 15.31 kB / 0.8292 GB, free: 7.094 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,StaticCentrifugalPump1.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,StaticCentrifugalPump1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001838/2.884, allocations: 157.6 kB / 0.8294 GB, free: 6.957 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/2.884, allocations: 23.72 kB / 0.8294 GB, free: 6.934 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/2.886, allocations: 472.1 kB / 0.8298 GB, free: 6.523 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/2.886, allocations: 0 / 0.8298 GB, free: 6.523 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/2.886, allocations: 3.984 kB / 0.8298 GB, free: 6.52 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/2.886, allocations: 96 / 0.8298 GB, free: 6.52 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/2.886, allocations: 343.6 kB / 0.8302 GB, free: 6.195 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/2.886, allocations: 5.078 kB / 0.8302 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/2.886, allocations: 4 kB / 0.8302 GB, free: 6.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006668/2.887, allocations: 156.5 kB / 0.8303 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/2.887, allocations: 4 kB / 0.8303 GB, free: 6.051 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006795/2.888, allocations: 0.6863 MB / 0.831 GB, free: 5.402 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/2.888, allocations: 0 / 0.831 GB, free: 5.402 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/2.89, allocations: 464.9 kB / 0.8314 GB, free: 4.988 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/2.89, allocations: 123.9 kB / 0.8316 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/2.89, allocations: 7.625 kB / 0.8316 GB, free: 4.852 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/2.89, allocations: 0 / 0.8316 GB, free: 4.852 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/2.89, allocations: 7.984 kB / 0.8316 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/2.89, allocations: 7.375 kB / 0.8316 GB, free: 4.84 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002552/2.891, allocations: 222 kB / 0.8318 GB, free: 4.668 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.51e-07/2.891, allocations: 4 kB / 0.8318 GB, free: 4.664 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005877/2.897, allocations: 1.43 MB / 0.8332 GB, free: 3.332 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (3): * Single equations (assignments): 2 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01307/2.91, allocations: 2.253 MB / 0.8354 GB, free: 1.414 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007735/2.91, allocations: 197.2 kB / 0.8356 GB, free: 1.277 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.91, allocations: 0 / 0.8356 GB, free: 1.277 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/2.911, allocations: 82.16 kB / 0.8357 GB, free: 1.219 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/2.911, allocations: 72.64 kB / 0.8357 GB, free: 1.172 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/2.913, allocations: 0.6882 MB / 0.8364 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/2.913, allocations: 0.7717 MB / 0.8372 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/2.913, allocations: 28.64 kB / 0.8372 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of SimCode: time 2.81e-07/2.913, allocations: 0 / 0.8372 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of Templates: time 0.05365/2.967, allocations: 28.96 MB / 0.8655 GB, free: 2.824 MB / 0.7012 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.SimpleExamples.TestStaticCentrifugalPump1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1CalcHelperMain.o] Error 1