Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.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.7477/0.7477, allocations: 150.8 MB / 166.6 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002723/0.0002724, allocations: 11.98 kB / 204.7 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1475, allocations: 31.33 MB / 236 MB, free: 5.453 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.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump): time 1.519/1.667, allocations: 293.4 MB / 0.517 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03711/1.704, allocations: 34.08 MB / 0.5503 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/1.704, allocations: 8 kB / 0.5503 GB, free: 11.08 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62: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/Machines/StaticCentrifugalPump.mo:63:3-65:37:writable] Warning: Connector C2 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/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38: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.0005026/1.704, allocations: 116.4 kB / 0.5504 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/1.705, allocations: 146.8 kB / 0.5505 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01801/1.723, allocations: 6.474 MB / 0.5569 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008026/1.724, allocations: 0.6934 MB / 0.5575 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/1.724, allocations: 266 kB / 0.5578 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/1.724, allocations: 266.9 kB / 0.5581 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/1.725, allocations: 290.7 kB / 0.5583 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.288e-05/1.725, allocations: 32 kB / 0.5584 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02357/1.748, allocations: 14.9 MB / 0.5729 GB, free: 3.887 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/1.749, allocations: 107.6 kB / 0.573 GB, free: 3.781 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003399/1.749, allocations: 274.5 kB / 0.5733 GB, free: 3.512 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008381/1.757, allocations: 5.353 MB / 0.5785 GB, free: 14.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.757, allocations: 4 kB / 0.5785 GB, free: 14.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.512e-06/1.757, allocations: 0 / 0.5785 GB, free: 14.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/1.757, allocations: 0 / 0.5785 GB, free: 14.14 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.005255/1.763, allocations: 1.797 MB / 0.5803 GB, free: 12.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.763, allocations: 8.031 kB / 0.5803 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/1.763, allocations: 63.28 kB / 0.5803 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/1.763, allocations: 345.6 kB / 0.5807 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.672e-05/1.763, allocations: 68.19 kB / 0.5807 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/1.763, allocations: 36 kB / 0.5808 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/1.765, allocations: 0.6493 MB / 0.5814 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.765, allocations: 3.984 kB / 0.5814 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/1.765, allocations: 16 kB / 0.5814 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/1.765, allocations: 19.94 kB / 0.5814 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/1.767, allocations: 0.6389 MB / 0.5821 GB, free: 10.37 MB / 478.1 MB 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.003172/1.77, allocations: 3.136 MB / 0.5851 GB, free: 6.941 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/1.772, allocations: 0.6956 MB / 0.5858 GB, free: 6.238 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008122/1.773, allocations: 318.1 kB / 0.5861 GB, free: 5.922 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07245/1.845, allocations: 44.14 MB / 0.6292 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/1.847, allocations: 370.6 kB / 0.6296 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.825e-06/1.847, allocations: 0 / 0.6296 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.008398/1.855, allocations: 2.145 MB / 0.6317 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/1.855, allocations: 63.19 kB / 0.6317 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/1.855, allocations: 337.5 kB / 0.632 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/1.855, allocations: 29.7 kB / 0.6321 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/1.856, allocations: 232.9 kB / 0.6323 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/1.856, allocations: 224.6 kB / 0.6325 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.856, allocations: 122.1 kB / 0.6326 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.856, allocations: 362.8 kB / 0.633 GB, free: 276 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007715/1.857, allocations: 269.4 kB / 0.6332 GB, free: 4 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008537/1.858, allocations: 425.1 kB / 0.6336 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006329/1.864, allocations: 1.726 MB / 0.6353 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.864, allocations: 4 kB / 0.6353 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002436/1.867, allocations: 1.013 MB / 0.6363 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.867, allocations: 5.562 kB / 0.6363 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.867, allocations: 4 kB / 0.6363 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/1.869, allocations: 0.7686 MB / 0.6371 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/1.87, allocations: 143.8 kB / 0.6372 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/1.872, allocations: 1.582 MB / 0.6388 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/1.872, allocations: 103.5 kB / 0.6388 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/1.872, allocations: 27.98 kB / 0.6389 GB, free: 10.02 MB / 0.5294 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: 20 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,pulse.T0,VanneReglante1.C2.b,VanneReglante1.C1.a,Bache1.Cs1.b,Bache1.Ce2.a,Bache1.Cs2.b,Bache1.Ce1.a,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a,Bache1.Cs1.a,Bache1.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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 {(6,16), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002548/1.872, allocations: 185 kB / 0.6391 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/1.872, allocations: 51.31 kB / 0.6391 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/1.876, allocations: 1.45 MB / 0.6405 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002167/1.878, allocations: 1.036 MB / 0.6415 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.878, allocations: 4 kB / 0.6415 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.878, allocations: 3.984 kB / 0.6415 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/1.882, allocations: 2.239 MB / 0.6437 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.882, allocations: 3.938 kB / 0.6437 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/1.883, allocations: 171.8 kB / 0.6439 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/1.885, allocations: 0.6731 MB / 0.6445 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/1.885, allocations: 15.98 kB / 0.6446 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/1.886, allocations: 1.629 MB / 0.6462 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.886, allocations: 3.984 kB / 0.6462 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/1.889, allocations: 1.616 MB / 0.6477 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/1.889, allocations: 192.1 kB / 0.6479 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/1.89, allocations: 15.98 kB / 0.6479 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/1.89, allocations: 62.25 kB / 0.648 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.89, allocations: 56.56 kB / 0.648 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/1.89, allocations: 20 kB / 0.6481 GB, free: 424 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001889/1.89, allocations: 223.2 kB / 0.6483 GB, free: 200 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.89, allocations: 0 / 0.6483 GB, free: 200 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002856/1.893, allocations: 1.163 MB / 0.6494 GB, free: 15.03 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (53): * Single equations (assignments): 50 * 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 {(6,18), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003673/1.897, allocations: 1.617 MB / 0.651 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002265/1.899, allocations: 0.9749 MB / 0.6519 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.899, allocations: 0.5625 kB / 0.6519 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/1.901, allocations: 0.5343 MB / 0.6525 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/1.902, allocations: 195.8 kB / 0.6527 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/1.904, allocations: 1.627 MB / 0.6542 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/1.904, allocations: 0.9112 MB / 0.6551 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/1.904, allocations: 43.44 kB / 0.6552 GB, free: 9.055 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/1.905, allocations: 0 / 0.6552 GB, free: 9.055 MB / 0.545 GB Notification: Performance of Templates: time 0.03664/1.941, allocations: 29.99 MB / 0.6845 GB, free: 11.05 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.makefile make -j1 -f ThermoSysPro_ThermoSysPro.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPumpCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPumpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPumpCalcHelperMain.o] Error 1