Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.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.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.685/0.685, allocations: 150.8 MB / 166.7 MB, free: 15.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.062e-05/1.064e-05, allocations: 0 / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 31.99 MB / 237.4 MB, free: 5.426 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.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump): time 1.302/1.419, allocations: 294.9 MB / 0.5198 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1579/1.577, allocations: 182.7 MB / 0.6983 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/1.577, allocations: 7.938 kB / 0.6983 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002164/1.578, allocations: 71.45 kB / 0.6983 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004819/1.578, allocations: 206.4 kB / 0.6985 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2421/1.82, allocations: 8.307 MB / 0.7066 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009036/1.821, allocations: 0.9829 MB / 0.7076 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/1.821, allocations: 414 kB / 0.708 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003276/1.822, allocations: 351.3 kB / 0.7083 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/1.822, allocations: 407.5 kB / 0.7087 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.486e-05/1.822, allocations: 46.19 kB / 0.7088 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02018/1.842, allocations: 16.91 MB / 0.7253 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/1.843, allocations: 162.6 kB / 0.7254 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003359/1.843, allocations: 413.5 kB / 0.7258 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00601/1.849, allocations: 6.249 MB / 0.7319 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/1.849, allocations: 1.906 kB / 0.7319 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/1.849, allocations: 0.5156 kB / 0.7319 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.195e-06/1.849, allocations: 0 / 0.7319 GB, free: 6.602 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00455/1.854, allocations: 2.12 MB / 0.734 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/1.854, allocations: 13.22 kB / 0.734 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/1.854, allocations: 100.4 kB / 0.7341 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/1.854, allocations: 443.3 kB / 0.7345 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/1.854, allocations: 88.7 kB / 0.7346 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/1.854, allocations: 84.23 kB / 0.7347 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/1.856, allocations: 1.065 MB / 0.7357 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/1.856, allocations: 2.906 kB / 0.7358 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/1.856, allocations: 37.47 kB / 0.7358 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/1.856, allocations: 17.44 kB / 0.7358 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/1.858, allocations: 0.9836 MB / 0.7368 GB, free: 4.82 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.003434/1.861, allocations: 5.352 MB / 0.742 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/1.864, allocations: 0.8276 MB / 0.7428 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/1.864, allocations: 314 kB / 0.7431 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3307/2.195, allocations: 182 MB / 0.9208 GB, free: 6.012 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/2.196, allocations: 418.4 kB / 0.9212 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/2.196, allocations: 0 / 0.9212 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of matching and sorting (n=43): time 0.008569/2.205, allocations: 2.269 MB / 0.9235 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/2.205, allocations: 166 kB / 0.9236 GB, free: 3.359 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/2.205, allocations: 0.5163 MB / 0.9241 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/2.205, allocations: 29.58 kB / 0.9242 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/2.206, allocations: 433.2 kB / 0.9246 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.87e-05/2.206, allocations: 154.8 kB / 0.9247 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/2.206, allocations: 84.92 kB / 0.9248 GB, free: 2.383 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001145/2.206, allocations: 368.5 kB / 0.9251 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008341/2.207, allocations: 308.1 kB / 0.9254 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/2.208, allocations: 0.6936 MB / 0.9261 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007184/2.215, allocations: 2.283 MB / 0.9283 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/2.215, allocations: 4 kB / 0.9283 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003509/2.218, allocations: 1.371 MB / 0.9297 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/2.219, allocations: 13.41 kB / 0.9297 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/2.219, allocations: 12.81 kB / 0.9297 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002545/2.221, allocations: 0.599 MB / 0.9303 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/2.222, allocations: 250.8 kB / 0.9305 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/2.223, allocations: 1.408 MB / 0.9319 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/2.224, allocations: 165.7 kB / 0.9321 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/2.224, allocations: 47.36 kB / 0.9321 GB, free: 11.5 MB / 0.7794 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,Bache1.Cs2.ftype,Bache1.Cs1.ftype,Bache1.Ce1.ftype,Bache1.fluids[1],$PRE.pulse.T0,StaticCentrifugalPump1.fluid,VanneReglante1.fluid,pulse.T0,Bache1.fluid1,Bache1.Ce2.diff_on_2,VanneReglante1.C2.diff_on_2,Bache1.Cs2.diff_on_2,Bache1.Cs2.diff_on_1,VanneReglante1.C2.diff_on_1,StaticCentrifugalPump1.C2.diff_on_1,Bache1.Cs1.diff_on_1,Bache1.Ce1.diff_on_2,Bache1.Cs1.diff_on_2,Bache1.Ce1.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(5,15), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002658/2.224, allocations: 233.5 kB / 0.9323 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/2.224, allocations: 68.83 kB / 0.9324 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/2.227, allocations: 0.9252 MB / 0.9333 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/2.227, allocations: 11.94 kB / 0.9333 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/2.227, allocations: 0 / 0.9333 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/2.227, allocations: 0 / 0.9333 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007612/2.227, allocations: 0.8348 MB / 0.9341 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/2.227, allocations: 7.938 kB / 0.9341 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007265/2.228, allocations: 162.5 kB / 0.9343 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/2.23, allocations: 409.3 kB / 0.9347 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/2.23, allocations: 7.688 kB / 0.9347 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/2.231, allocations: 1.396 MB / 0.9361 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/2.231, allocations: 0 / 0.9361 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00387/2.235, allocations: 1.392 MB / 0.9374 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/2.235, allocations: 178.6 kB / 0.9376 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/2.235, allocations: 11.38 kB / 0.9376 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/2.236, allocations: 70.58 kB / 0.9377 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/2.236, allocations: 47.73 kB / 0.9377 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/2.236, allocations: 19.67 kB / 0.9377 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002846/2.236, allocations: 329.2 kB / 0.938 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/2.236, allocations: 0 / 0.938 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002805/2.239, allocations: 1.373 MB / 0.9394 GB, free: 4.98 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (Bache1.z,Bache1.h) * Number of discrete variables: 2 ($whenCondition1,pulse.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(5,17), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004045/2.243, allocations: 1.947 MB / 0.9413 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002104/2.245, allocations: 0.8336 MB / 0.9421 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/2.245, allocations: 3.75 kB / 0.9421 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/2.246, allocations: 419.5 kB / 0.9425 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/2.247, allocations: 107.9 kB / 0.9426 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/2.249, allocations: 1.7 MB / 0.9443 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/2.249, allocations: 0.9056 MB / 0.9452 GB, free: 15.69 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/2.249, allocations: 55.42 kB / 0.9452 GB, free: 15.63 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/2.249, allocations: 3.938 kB / 0.9452 GB, free: 15.63 MB / 0.795 GB Notification: Performance of Templates: time 0.1703/2.42, allocations: 33.71 MB / 0.9781 GB, free: 458.5 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.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.TestStaticCentrifugalPumpCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPumpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPumpCalcHelperMain.o] Error 1