Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.SimpleExamples.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8569/0.8569, allocations: 150.9 MB / 166.6 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003339, allocations: 19.98 kB / 204.7 MB, free: 10.09 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2061, 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.SimpleExamples.TestStaticCentrifugalPump): time 1.769/1.975, allocations: 293.5 MB / 0.5171 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04045/2.016, allocations: 34.09 MB / 0.5504 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/2.016, allocations: 0 / 0.5504 GB, free: 11.09 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.0004867/2.017, allocations: 116.9 kB / 0.5505 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/2.017, allocations: 150.8 kB / 0.5506 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02093/2.038, allocations: 6.473 MB / 0.557 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/2.039, allocations: 0.6896 MB / 0.5576 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/2.039, allocations: 258.8 kB / 0.5579 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/2.04, allocations: 270.9 kB / 0.5581 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/2.04, allocations: 298.7 kB / 0.5584 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/2.04, allocations: 32 kB / 0.5585 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02917/2.069, allocations: 14.9 MB / 0.573 GB, free: 3.887 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/2.07, allocations: 99.58 kB / 0.5731 GB, free: 3.789 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004033/2.07, allocations: 278.5 kB / 0.5734 GB, free: 3.516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/2.081, allocations: 5.361 MB / 0.5786 GB, free: 14.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/2.081, allocations: 0 / 0.5786 GB, free: 14.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.773e-06/2.081, allocations: 0 / 0.5786 GB, free: 14.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/2.081, allocations: 0 / 0.5786 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.006398/2.088, allocations: 1.797 MB / 0.5804 GB, free: 12.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/2.088, allocations: 8.031 kB / 0.5804 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/2.088, allocations: 67.28 kB / 0.5804 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/2.089, allocations: 329.7 kB / 0.5807 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/2.089, allocations: 66.69 kB / 0.5808 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.376e-05/2.089, allocations: 36 kB / 0.5808 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/2.09, allocations: 0.6493 MB / 0.5815 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/2.09, allocations: 4 kB / 0.5815 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/2.09, allocations: 16 kB / 0.5815 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/2.09, allocations: 25.31 kB / 0.5815 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/2.092, allocations: 0.639 MB / 0.5821 GB, free: 10.38 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.003492/2.096, allocations: 3.14 MB / 0.5852 GB, free: 6.941 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/2.098, allocations: 0.6855 MB / 0.5859 GB, free: 6.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008391/2.099, allocations: 326.1 kB / 0.5862 GB, free: 5.926 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08024/2.179, allocations: 44.15 MB / 0.6293 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/2.18, allocations: 374.5 kB / 0.6297 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 5.561e-06/2.18, allocations: 0 / 0.6297 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.00945/2.19, allocations: 2.134 MB / 0.6317 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/2.19, allocations: 67.17 kB / 0.6318 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/2.19, allocations: 337.5 kB / 0.6321 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/2.19, allocations: 29.7 kB / 0.6322 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/2.191, allocations: 228.9 kB / 0.6324 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/2.191, allocations: 232.6 kB / 0.6326 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/2.191, allocations: 118.1 kB / 0.6327 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001806/2.191, allocations: 362.8 kB / 0.6331 GB, free: 284 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000836/2.192, allocations: 269.3 kB / 0.6333 GB, free: 8 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009532/2.193, allocations: 425.1 kB / 0.6337 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006992/2.2, allocations: 1.726 MB / 0.6354 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/2.2, allocations: 4 kB / 0.6354 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002841/2.203, allocations: 1.025 MB / 0.6364 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/2.203, allocations: 4 kB / 0.6364 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/2.203, allocations: 8 kB / 0.6364 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/2.206, allocations: 0.7591 MB / 0.6372 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/2.207, allocations: 143.8 kB / 0.6373 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/2.209, allocations: 1.582 MB / 0.6388 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/2.21, allocations: 107.5 kB / 0.639 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/2.21, allocations: 31.98 kB / 0.639 GB, free: 10.01 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.000384/2.21, allocations: 171 kB / 0.6391 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/2.21, allocations: 47.38 kB / 0.6392 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00386/2.214, allocations: 1.454 MB / 0.6406 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002453/2.217, allocations: 1.04 MB / 0.6416 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/2.217, allocations: 4 kB / 0.6416 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/2.217, allocations: 11.59 kB / 0.6416 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004856/2.222, allocations: 2.232 MB / 0.6438 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/2.222, allocations: 0 / 0.6438 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008808/2.222, allocations: 171.8 kB / 0.644 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/2.225, allocations: 0.6715 MB / 0.6446 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.957e-05/2.225, allocations: 15.98 kB / 0.6447 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/2.227, allocations: 1.631 MB / 0.6462 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/2.227, allocations: 0 / 0.6462 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/2.23, allocations: 1.62 MB / 0.6478 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/2.231, allocations: 192 kB / 0.648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/2.231, allocations: 15.98 kB / 0.648 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005911/2.232, allocations: 64 kB / 0.6481 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/2.232, allocations: 52.56 kB / 0.6481 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/2.232, allocations: 20 kB / 0.6482 GB, free: 436 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002965/2.232, allocations: 227.2 kB / 0.6484 GB, free: 204 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/2.232, allocations: 0 / 0.6484 GB, free: 204 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00402/2.236, allocations: 1.159 MB / 0.6495 GB, free: 15.04 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.006742/2.243, allocations: 1.628 MB / 0.6511 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003168/2.246, allocations: 0.9671 MB / 0.652 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/2.246, allocations: 0.5625 kB / 0.652 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/2.248, allocations: 0.5381 MB / 0.6526 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.001203/2.249, allocations: 191.3 kB / 0.6528 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/2.252, allocations: 1.631 MB / 0.6543 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/2.253, allocations: 0.9151 MB / 0.6552 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/2.253, allocations: 39.44 kB / 0.6553 GB, free: 9.059 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/2.253, allocations: 0 / 0.6553 GB, free: 9.059 MB / 0.545 GB Notification: Performance of Templates: time 0.04816/2.301, allocations: 29.99 MB / 0.6846 GB, free: 11.04 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.SimpleExamples.TestStaticCentrifugalPumpCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpCalcHelperMain.o] Error 1