Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8393/0.8393, allocations: 150.8 MB / 166.6 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003115, allocations: 19.98 kB / 204.7 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2158, allocations: 31.33 MB / 236 MB, free: 5.457 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.TestSimpleStaticCondenser): time 1.766/1.982, allocations: 294.2 MB / 0.5178 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03459/2.016, allocations: 27.16 MB / 0.5443 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005017/2.017, allocations: 8 kB / 0.5443 GB, free: 1.363 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44:writable] Warning: Connector Ec 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/HeatExchangers/SimpleStaticCondenser.mo:61:3-63:42:writable] Warning: Connector Ef 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/HeatExchangers/SimpleStaticCondenser.mo:64:3-66:36:writable] Warning: Connector Sf 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/HeatExchangers/SimpleStaticCondenser.mo:67:3-69:37:writable] Warning: Connector Sc 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.0006012/2.017, allocations: 156.2 kB / 0.5445 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005205/2.018, allocations: 226.3 kB / 0.5447 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01789/2.036, allocations: 5.391 MB / 0.55 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/2.037, allocations: 0.8241 MB / 0.5508 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/2.037, allocations: 231.3 kB / 0.551 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/2.038, allocations: 302.5 kB / 0.5513 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/2.038, allocations: 266.5 kB / 0.5515 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/2.038, allocations: 24 kB / 0.5515 GB, free: 9.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02647/2.065, allocations: 15.9 MB / 0.5671 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/2.065, allocations: 83.58 kB / 0.5672 GB, free: 9.965 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005626/2.065, allocations: 314.3 kB / 0.5675 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009264/2.075, allocations: 4.654 MB / 0.572 GB, free: 4.992 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/2.075, allocations: 0 / 0.572 GB, free: 4.992 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.403e-06/2.075, allocations: 0 / 0.572 GB, free: 4.992 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/2.075, allocations: 0 / 0.572 GB, free: 4.992 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.004473/2.079, allocations: 1.485 MB / 0.5734 GB, free: 3.457 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/2.079, allocations: 8.031 kB / 0.5735 GB, free: 3.449 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.926e-05/2.079, allocations: 73.58 kB / 0.5735 GB, free: 3.379 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/2.08, allocations: 314.2 kB / 0.5738 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/2.08, allocations: 37.31 kB / 0.5739 GB, free: 3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/2.08, allocations: 36.38 kB / 0.5739 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008569/2.081, allocations: 0.6931 MB / 0.5746 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/2.081, allocations: 0 / 0.5746 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/2.081, allocations: 16 kB / 0.5746 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/2.081, allocations: 39.95 kB / 0.5746 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/2.081, allocations: 455.6 kB / 0.5751 GB, free: 1.727 MB / 462.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.06927/2.151, allocations: 36.15 MB / 0.6104 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/2.151, allocations: 376.8 kB / 0.6107 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004024/2.152, allocations: 294.8 kB / 0.611 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07724/2.229, allocations: 36.35 MB / 0.6465 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/2.229, allocations: 34.56 kB / 0.6465 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=124): time 2.314e-06/2.229, allocations: 4 kB / 0.6465 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124): time 0.002831/2.232, allocations: 1.2 MB / 0.6477 GB, free: 228 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/2.232, allocations: 59.39 kB / 0.6478 GB, free: 156 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/2.233, allocations: 320.4 kB / 0.6481 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/2.233, allocations: 33.7 kB / 0.6481 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/2.233, allocations: 217.3 kB / 0.6483 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/2.233, allocations: 393.9 kB / 0.6487 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/2.233, allocations: 113.6 kB / 0.6488 GB, free: 15.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000173/2.234, allocations: 374.8 kB / 0.6492 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/2.234, allocations: 217.2 kB / 0.6494 GB, free: 14.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/2.234, allocations: 331.5 kB / 0.6497 GB, free: 14.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/2.235, allocations: 0.6136 MB / 0.6503 GB, free: 13.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/2.235, allocations: 7.938 kB / 0.6503 GB, free: 13.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001178/2.236, allocations: 0.7785 MB / 0.651 GB, free: 12.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/2.236, allocations: 8 kB / 0.651 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/2.236, allocations: 0 / 0.651 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/2.238, allocations: 338.8 kB / 0.6514 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/2.238, allocations: 23.92 kB / 0.6514 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/2.239, allocations: 1.287 MB / 0.6527 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/2.24, allocations: 78.81 kB / 0.6527 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/2.24, allocations: 20.06 kB / 0.6527 GB, free: 10.89 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002448/2.24, allocations: 167.3 kB / 0.6529 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/2.24, allocations: 55.19 kB / 0.653 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/2.244, allocations: 4.038 MB / 0.6569 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001123/2.245, allocations: 0.8158 MB / 0.6577 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/2.245, allocations: 0 / 0.6577 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/2.245, allocations: 7.922 kB / 0.6577 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/2.248, allocations: 2.178 MB / 0.6598 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/2.248, allocations: 0 / 0.6598 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/2.248, allocations: 95.89 kB / 0.6599 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/2.25, allocations: 285.4 kB / 0.6602 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/2.25, allocations: 12 kB / 0.6602 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/2.251, allocations: 1.333 MB / 0.6615 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.251, allocations: 4 kB / 0.6615 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/2.252, allocations: 0.9727 MB / 0.6625 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/2.252, allocations: 184 kB / 0.6626 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/2.253, allocations: 35.67 kB / 0.6627 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/2.253, allocations: 23.91 kB / 0.6627 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.534e-05/2.253, allocations: 48.47 kB / 0.6627 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/2.253, allocations: 20 kB / 0.6628 GB, free: 272 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005405/2.254, allocations: 418.8 kB / 0.6632 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/2.254, allocations: 0 / 0.6632 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003379/2.257, allocations: 0.9916 MB / 0.6641 GB, free: 14.86 MB / 0.5606 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005591/2.263, allocations: 1.154 MB / 0.6653 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001494/2.264, allocations: 0.9986 MB / 0.6662 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/2.264, allocations: 0.5 kB / 0.6662 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006053/2.265, allocations: 408.2 kB / 0.6666 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/2.267, allocations: 420.4 kB / 0.667 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/2.269, allocations: 1.796 MB / 0.6688 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/2.27, allocations: 0.9906 MB / 0.6697 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/2.27, allocations: 51.38 kB / 0.6698 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of SimCode: time 1.593e-06/2.27, allocations: 0 / 0.6698 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of Templates: time 0.2345/2.504, allocations: 31.84 MB / 0.7009 GB, free: 225.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenserCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenserCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenserCalcHelperMain.o] Error 1