Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8212/0.8212, allocations: 150.8 MB / 166.6 MB, free: 14.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 15.97 kB / 204.6 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2015, allocations: 31.34 MB / 236 MB, free: 5.434 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.TestStaticCentrifugalPump1): time 1.728/1.929, allocations: 292.7 MB / 0.5163 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04629/1.975, allocations: 37.57 MB / 0.553 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/1.976, allocations: 0 / 0.553 GB, free: 8.41 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/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C 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/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C 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.0005036/1.976, allocations: 83.56 kB / 0.5531 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/1.977, allocations: 83.36 kB / 0.5532 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02549/2.002, allocations: 7.176 MB / 0.5602 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005649/2.003, allocations: 378.3 kB / 0.5605 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/2.003, allocations: 121.3 kB / 0.5607 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/2.003, allocations: 151.2 kB / 0.5608 GB, free: 444 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/2.003, allocations: 135.3 kB / 0.5609 GB, free: 308 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/2.003, allocations: 15.94 kB / 0.561 GB, free: 292 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03157/2.035, allocations: 17.73 MB / 0.5783 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/2.035, allocations: 43.78 kB / 0.5783 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/2.035, allocations: 147.2 kB / 0.5784 GB, free: 14.35 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/2.047, allocations: 5.727 MB / 0.584 GB, free: 8.605 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/2.047, allocations: 0 / 0.584 GB, free: 8.605 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/2.047, allocations: 0 / 0.584 GB, free: 8.605 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/2.047, allocations: 0 / 0.584 GB, free: 8.605 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005273/2.052, allocations: 1.489 MB / 0.5855 GB, free: 7.066 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/2.052, allocations: 8.031 kB / 0.5855 GB, free: 7.059 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/2.052, allocations: 35.56 kB / 0.5855 GB, free: 7.023 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/2.052, allocations: 247.4 kB / 0.5858 GB, free: 6.742 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/2.052, allocations: 16.5 kB / 0.5858 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/2.052, allocations: 24 kB / 0.5858 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/2.053, allocations: 332.2 kB / 0.5861 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/2.053, allocations: 0 / 0.5861 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/2.053, allocations: 12 kB / 0.5861 GB, free: 6.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/2.053, allocations: 15.98 kB / 0.5862 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/2.054, allocations: 221.1 kB / 0.5864 GB, free: 6.109 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/2.091, allocations: 18.02 MB / 0.604 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/2.092, allocations: 200.5 kB / 0.6042 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/2.092, allocations: 120.8 kB / 0.6043 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1507/2.243, allocations: 77.27 MB / 0.6797 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.404e-05/2.243, allocations: 30.56 kB / 0.6798 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.695e-06/2.243, allocations: 0 / 0.6798 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004346/2.247, allocations: 0.9368 MB / 0.6807 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/2.247, allocations: 51.41 kB / 0.6807 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/2.247, allocations: 254.6 kB / 0.681 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/2.247, allocations: 25.7 kB / 0.681 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/2.248, allocations: 160.5 kB / 0.6811 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/2.248, allocations: 134 kB / 0.6813 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/2.248, allocations: 57.59 kB / 0.6813 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001378/2.248, allocations: 346.8 kB / 0.6817 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/2.248, allocations: 100.4 kB / 0.6818 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/2.248, allocations: 148.1 kB / 0.6819 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/2.249, allocations: 281.9 kB / 0.6822 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/2.249, allocations: 4 kB / 0.6822 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002396/2.251, allocations: 0.6088 MB / 0.6828 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/2.251, allocations: 8 kB / 0.6828 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/2.251, allocations: 3.938 kB / 0.6828 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008181/2.252, allocations: 222.6 kB / 0.683 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/2.252, allocations: 15.98 kB / 0.683 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008835/2.253, allocations: 0.7434 MB / 0.6837 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/2.253, allocations: 27.69 kB / 0.6838 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/2.253, allocations: 8 kB / 0.6838 GB, free: 7.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001759/2.253, allocations: 145.7 kB / 0.6839 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/2.254, allocations: 31.66 kB / 0.6839 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/2.255, allocations: 0.8001 MB / 0.6847 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004944/2.255, allocations: 286.4 kB / 0.685 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/2.255, allocations: 3.938 kB / 0.685 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/2.255, allocations: 7.938 kB / 0.685 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/2.256, allocations: 0.8753 MB / 0.6859 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/2.256, allocations: 0 / 0.6859 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.361e-05/2.257, allocations: 23.98 kB / 0.6859 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007145/2.257, allocations: 229.6 kB / 0.6861 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/2.257, allocations: 4 kB / 0.6861 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007822/2.258, allocations: 0.759 MB / 0.6868 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/2.258, allocations: 0 / 0.6868 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/2.259, allocations: 431.7 kB / 0.6873 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/2.259, allocations: 128.6 kB / 0.6874 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/2.259, allocations: 11.91 kB / 0.6874 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/2.259, allocations: 3.984 kB / 0.6874 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/2.259, allocations: 17.48 kB / 0.6874 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/2.259, allocations: 4 kB / 0.6874 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002812/2.259, allocations: 255 kB / 0.6877 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.51e-07/2.259, allocations: 0 / 0.6877 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003627/2.263, allocations: 1.187 MB / 0.6888 GB, free: 2.199 MB / 0.5762 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 (13): * Single equations (assignments): 12 * 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 {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006487/2.27, allocations: 1.785 MB / 0.6906 GB, free: 432 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007681/2.27, allocations: 318.7 kB / 0.6909 GB, free: 108 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/2.27, allocations: 0 / 0.6909 GB, free: 108 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.1909/2.461, allocations: 140.6 kB / 0.691 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009389/2.462, allocations: 119.6 kB / 0.6911 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/2.463, allocations: 0.7471 MB / 0.6918 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/2.464, allocations: 0.7751 MB / 0.6926 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/2.464, allocations: 27.64 kB / 0.6926 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/2.464, allocations: 1.812 kB / 0.6926 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.03988/2.504, allocations: 25.4 MB / 0.7174 GB, free: 218.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1CalcHelperMain.o] Error 1