Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.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.SimpleExamples.TestStaticExchangerKS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8325/0.8325, allocations: 150.9 MB / 166.6 MB, free: 14.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 11.98 kB / 204.7 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1795, 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.Fluid.Examples.SimpleExamples.TestStaticExchangerKS): time 1.704/1.884, allocations: 293.7 MB / 0.5173 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5638/2.447, allocations: 189.6 MB / 0.7024 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/2.448, allocations: 15.97 kB / 0.7025 GB, free: 3.832 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticExchangerKS.mo:58:3-60:35:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticExchangerKS.mo:61:3-63:37:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticExchangerKS.mo:64:3-66:35:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticExchangerKS.mo:67:3-69:32:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000242/2.448, allocations: 56.36 kB / 0.7025 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004759/2.449, allocations: 202.2 kB / 0.7027 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03817/2.487, allocations: 8.924 MB / 0.7114 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001213/2.488, allocations: 0.7394 MB / 0.7121 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004827/2.488, allocations: 393.7 kB / 0.7125 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/2.489, allocations: 284.8 kB / 0.7128 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/2.489, allocations: 336.1 kB / 0.7131 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.054e-05/2.489, allocations: 51.84 kB / 0.7132 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03579/2.525, allocations: 20.28 MB / 0.733 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003407/2.525, allocations: 143.4 kB / 0.7331 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006065/2.526, allocations: 349.4 kB / 0.7334 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01495/2.541, allocations: 7.175 MB / 0.7404 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/2.541, allocations: 3.25 kB / 0.7404 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.785e-06/2.541, allocations: 0 / 0.7404 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.81e-05/2.541, allocations: 0 / 0.7404 GB, free: 1.461 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00609/2.547, allocations: 2.096 MB / 0.7425 GB, free: 152 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/2.547, allocations: 7.375 kB / 0.7425 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/2.547, allocations: 85.94 kB / 0.7426 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/2.548, allocations: 429.6 kB / 0.743 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/2.548, allocations: 49 kB / 0.743 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/2.548, allocations: 64.38 kB / 0.7431 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009248/2.549, allocations: 0.6925 MB / 0.7438 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/2.549, allocations: 0 / 0.7438 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/2.549, allocations: 29 kB / 0.7438 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/2.549, allocations: 15.91 kB / 0.7438 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007161/2.55, allocations: 0.4888 MB / 0.7443 GB, free: 15.49 MB / 0.5919 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.01569/2.565, allocations: 11.87 MB / 0.7559 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/2.566, allocations: 187.1 kB / 0.7561 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/2.566, allocations: 81.19 kB / 0.7561 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2848/2.851, allocations: 150.2 MB / 0.9028 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/2.851, allocations: 30.56 kB / 0.9029 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 2.525e-06/2.851, allocations: 0 / 0.9029 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.002957/2.854, allocations: 0.755 MB / 0.9036 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/2.854, allocations: 55.41 kB / 0.9036 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000651/2.854, allocations: 474.8 kB / 0.9041 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/2.855, allocations: 29.45 kB / 0.9041 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/2.855, allocations: 370.4 kB / 0.9045 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/2.855, allocations: 65.73 kB / 0.9045 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/2.855, allocations: 101 kB / 0.9046 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001448/2.855, allocations: 352.6 kB / 0.905 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/2.855, allocations: 91.89 kB / 0.9051 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/2.856, allocations: 263.6 kB / 0.9053 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/2.856, allocations: 377.8 kB / 0.9057 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/2.856, allocations: 5.203 kB / 0.9057 GB, free: 5.164 MB / 0.7481 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008335/2.857, allocations: 489.4 kB / 0.9061 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/2.857, allocations: 13.53 kB / 0.9062 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/2.857, allocations: 4.781 kB / 0.9062 GB, free: 4.809 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00327/2.86, allocations: 0.5148 MB / 0.9067 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/2.86, allocations: 57.78 kB / 0.9067 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/2.862, allocations: 0.7979 MB / 0.9075 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/2.862, allocations: 53.94 kB / 0.9076 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/2.862, allocations: 27.16 kB / 0.9076 GB, free: 3.492 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,sourceP2.C.ftype,plateHeatExchanger.fluid_c,plateHeatExchanger.fluid_f,puitsP2.fluid,puitsP3.fluid,sourceP3.fluid1,sourceP2.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0003019/2.862, allocations: 186.9 kB / 0.9078 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/2.862, allocations: 48.64 kB / 0.9078 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/2.863, allocations: 432.5 kB / 0.9082 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/2.863, allocations: 10.94 kB / 0.9082 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/2.863, allocations: 0 / 0.9082 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/2.863, allocations: 0 / 0.9082 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/2.864, allocations: 484 kB / 0.9087 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/2.864, allocations: 4 kB / 0.9087 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/2.864, allocations: 0 / 0.9087 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/2.866, allocations: 427 kB / 0.9091 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/2.867, allocations: 7.906 kB / 0.9091 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008634/2.867, allocations: 0.8145 MB / 0.9099 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.867, allocations: 0 / 0.9099 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000788/2.868, allocations: 378.5 kB / 0.9103 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/2.868, allocations: 150.4 kB / 0.9104 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/2.868, allocations: 3.312 kB / 0.9104 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/2.869, allocations: 4 kB / 0.9104 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/2.869, allocations: 15.67 kB / 0.9104 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/2.869, allocations: 4 kB / 0.9104 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003715/2.869, allocations: 343.8 kB / 0.9108 GB, free: 0.6875 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.603e-06/2.869, allocations: 4 kB / 0.9108 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005134/2.874, allocations: 1.546 MB / 0.9123 GB, free: 15.25 MB / 0.7637 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 (1): * Single equations (assignments): 0 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009714/2.884, allocations: 2.344 MB / 0.9146 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001007/2.885, allocations: 294.5 kB / 0.9148 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/2.885, allocations: 0 / 0.9148 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003452/2.885, allocations: 120 kB / 0.915 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008/2.886, allocations: 132.6 kB / 0.9151 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/2.888, allocations: 1.114 MB / 0.9162 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/2.889, allocations: 0.8542 MB / 0.917 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/2.889, allocations: 39.42 kB / 0.917 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of SimCode: time 3.71e-07/2.889, allocations: 0 / 0.917 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of Templates: time 0.05003/2.939, allocations: 33.27 MB / 0.9495 GB, free: 9.75 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.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.SimpleExamples.TestStaticExchangerKSCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKSCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKSCalcHelperMain.o] Error 1