Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_mixing_streams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_liquid_mixing_streams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_mixing_streams") translateModel(AES.Devel_test_models.Test_liquid_mixing_streams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_mixing_streams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000977/0.0009769, allocations: 100.7 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 176.6 kB / 16.58 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3007/0.3007, allocations: 22.35 MB / 314.1 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 12 kB / 382.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4203, allocations: 55.97 MB / 438.5 MB, free: 39.29 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_mixing_streams): time 0.002743/0.4231, allocations: 1.915 MB / 440.5 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004569/0.4236, allocations: 191.9 kB / 440.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.4237, allocations: 5.281 kB / 440.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.824e-05/0.4238, allocations: 14.67 kB / 440.7 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.4241, allocations: 71.77 kB / 440.7 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.507e-05/0.4242, allocations: 23.33 kB / 440.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.4244, allocations: 176.4 kB / 440.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.4247, allocations: 99.88 kB / 441 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.4248, allocations: 68.84 kB / 441.1 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.425, allocations: 82.98 kB / 441.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.425, allocations: 11.19 kB / 441.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/0.4251, allocations: 8.625 kB / 441.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.4251, allocations: 27.97 kB / 441.2 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.4252, allocations: 55.3 kB / 441.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.4253, allocations: 133.2 kB / 441.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4253, allocations: 2.406 kB / 441.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4253, allocations: 0 / 441.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.4254, allocations: 0 / 441.4 MB, free: 37.37 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005873/0.426, allocations: 427.1 kB / 441.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.426, allocations: 9.531 kB / 441.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.4261, allocations: 19.97 kB / 441.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.4263, allocations: 240.3 kB / 442.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.4263, allocations: 7.203 kB / 442.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.4264, allocations: 8.344 kB / 442.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.4267, allocations: 150.1 kB / 442.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4267, allocations: 3.422 kB / 442.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.4267, allocations: 6.531 kB / 442.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.4267, allocations: 6.562 kB / 442.3 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.427, allocations: 105.1 kB / 442.4 MB, free: 36.57 MB / 350.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.0008331/0.4279, allocations: 0.6247 MB / 443 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.428, allocations: 51.47 kB / 443.1 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.4281, allocations: 43.53 kB / 443.1 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.4281, allocations: 0 / 443.1 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.4282, allocations: 41.41 kB / 443.1 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.4e-05/0.4283, allocations: 13 kB / 443.1 MB, free: 35.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.4283, allocations: 0 / 443.1 MB, free: 35.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003368/0.4286, allocations: 113.8 kB / 443.3 MB, free: 35.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.4286, allocations: 51.41 kB / 443.3 MB, free: 35.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.4288, allocations: 196.6 kB / 443.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.4288, allocations: 25.7 kB / 443.5 MB, free: 35.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.4289, allocations: 135.5 kB / 443.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.4289, allocations: 26.02 kB / 443.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.429, allocations: 4 kB / 443.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.429, allocations: 322.2 kB / 444 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/0.4291, allocations: 27.06 kB / 444 MB, free: 35.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-05/0.4292, allocations: 52.02 kB / 444.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.633e-05/0.4293, allocations: 26.62 kB / 444.1 MB, free: 35.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4294, allocations: 0 / 444.1 MB, free: 35.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002413/0.4296, allocations: 127.2 kB / 444.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4296, allocations: 7.188 kB / 444.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4296, allocations: 0 / 444.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4297, allocations: 2.719 kB / 444.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.4298, allocations: 27.48 kB / 444.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4298, allocations: 2.844 kB / 444.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.4299, allocations: 0 / 444.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.4299, allocations: 8.766 kB / 444.3 MB, free: 35.02 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = max(0.0, 0.0) start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.4301, allocations: 133.6 kB / 444.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.4302, allocations: 17.52 kB / 444.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.4304, allocations: 127.6 kB / 444.5 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4304, allocations: 0 / 444.5 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4304, allocations: 0 / 444.5 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4304, allocations: 7.891 kB / 444.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.4307, allocations: 227.6 kB / 444.8 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4307, allocations: 0 / 444.8 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.4308, allocations: 28.52 kB / 444.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4308, allocations: 3.953 kB / 444.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4308, allocations: 8 kB / 444.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4308, allocations: 2.875 kB / 444.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4308, allocations: 3.984 kB / 444.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.4312, allocations: 231 kB / 445.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.4312, allocations: 95.08 kB / 445.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.4312, allocations: 11.94 kB / 445.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.4313, allocations: 2.906 kB / 445.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.4314, allocations: 6.234 kB / 445.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.4314, allocations: 2.781 kB / 445.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.899e-05/0.4315, allocations: 148.1 kB / 445.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4315, allocations: 0 / 445.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.4318, allocations: 32 kB / 445.3 MB, free: 34.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (H.T) * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001244/0.4319, allocations: 97.34 kB / 445.4 MB, free: 34.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.4321, allocations: 76.31 kB / 445.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4321, allocations: 384 / 445.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/0.4322, allocations: 38.56 kB / 445.6 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.4326, allocations: 29.23 kB / 445.6 MB, free: 34.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000837/0.4334, allocations: 0.4977 MB / 446.1 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.4337, allocations: 0.7157 MB / 446.8 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.4337, allocations: 19.81 kB / 446.8 MB, free: 32.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4337, allocations: 0 / 446.8 MB, free: 32.98 MB / 350.1 MB Notification: Performance of Templates: time 0.003808/0.4376, allocations: 1.953 MB / 448.8 MB, free: 32.85 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.makefile make -j1 -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAES_AES.Devel_test_models.Test_liquid_mixing_streamsCalcHelperMain.o OMCppAES_AES.Devel_test_models.Test_liquid_mixing_streamsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Devel_test_models.Test_liquid_mixing_streamsCalcHelperMain.o] Error 1