Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 96.14 kB / 15.87 MB, free: 16 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.00262/0.00262, allocations: 193.9 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.1 MB / 222.6 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.864/1.864, allocations: 292.3 MB / 0.5491 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 75.41 kB / 0.6715 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.318, allocations: 114.5 MB / 0.7833 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9339/1.252, allocations: 185 MB / 0.964 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01738/1.269, allocations: 13.09 MB / 0.9768 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/1.271, allocations: 27.75 kB / 0.9768 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/1.273, allocations: 351.4 kB / 0.9772 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003888/1.277, allocations: 1.096 MB / 0.9782 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/1.279, allocations: 0.6157 MB / 0.9788 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004565/1.284, allocations: 2.766 MB / 0.9815 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/1.285, allocations: 0.7229 MB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005607/1.291, allocations: 1.657 MB / 0.9839 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/1.294, allocations: 0.6922 MB / 0.9845 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/1.294, allocations: 44.91 kB / 0.9846 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/1.297, allocations: 0.9803 MB / 0.9855 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000564/1.297, allocations: 350.7 kB / 0.9859 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008922/1.298, allocations: 467.4 kB / 0.9863 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/1.3, allocations: 1.096 MB / 0.9874 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.3, allocations: 1.156 kB / 0.9874 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/1.3, allocations: 0 / 0.9874 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.47e-05/1.3, allocations: 0 / 0.9874 GB, free: 4.445 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002661/1.303, allocations: 1.233 MB / 0.9886 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/1.303, allocations: 8.281 kB / 0.9886 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/1.304, allocations: 217.3 kB / 0.9888 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/1.306, allocations: 0.6418 MB / 0.9894 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/1.306, allocations: 57.97 kB / 0.9895 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/1.306, allocations: 75.69 kB / 0.9896 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/1.307, allocations: 0.9272 MB / 0.9905 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/1.307, allocations: 5.188 kB / 0.9905 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.921e-05/1.307, allocations: 34.47 kB / 0.9905 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/1.308, allocations: 29.06 kB / 0.9905 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/1.309, allocations: 0.6164 MB / 0.9911 GB, free: 19.11 MB / 0.7481 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.005769/1.314, allocations: 4.581 MB / 0.9956 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007783/1.315, allocations: 0.5414 MB / 0.9961 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/1.316, allocations: 251.7 kB / 0.9964 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/1.316, allocations: 100.1 kB / 0.9965 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/1.316, allocations: 39.91 kB / 0.9965 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 3.216e-06/1.316, allocations: 0 / 0.9965 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.003304/1.319, allocations: 1.585 MB / 0.9981 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.823e-05/1.319, allocations: 110.6 kB / 0.9982 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008676/1.32, allocations: 0.7106 MB / 0.9989 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/1.32, allocations: 36.11 kB / 0.9989 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/1.321, allocations: 417.8 kB / 0.9993 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/1.321, allocations: 162.6 kB / 0.9994 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/1.321, allocations: 118.4 kB / 0.9996 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000225/1.321, allocations: 390.1 kB / 0.9999 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/1.321, allocations: 193.2 kB / 1 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/1.322, allocations: 415.8 kB / 1.001 GB, free: 12.51 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/1.324, allocations: 1.161 MB / 1.002 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.324, allocations: 0 / 1.002 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001158/1.325, allocations: 0.6649 MB / 1.002 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/1.326, allocations: 18.84 kB / 1.002 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.326, allocations: 8.438 kB / 1.002 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/1.326, allocations: 6.688 kB / 1.002 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/1.326, allocations: 130 kB / 1.002 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/1.326, allocations: 13.12 kB / 1.002 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/1.327, allocations: 50.83 kB / 1.003 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/1.327, allocations: 30.69 kB / 1.003 GB, free: 11.58 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005252/1.327, allocations: 269.7 kB / 1.003 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/1.328, allocations: 87.5 kB / 1.003 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/1.328, allocations: 90.02 kB / 1.003 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/1.328, allocations: 4.5 kB / 1.003 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/1.328, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008622/1.329, allocations: 0.7052 MB / 1.004 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/1.332, allocations: 1.638 MB / 1.005 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.332, allocations: 2.781 kB / 1.005 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/1.332, allocations: 105 kB / 1.005 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/1.332, allocations: 16.09 kB / 1.005 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/1.332, allocations: 15.62 kB / 1.005 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/1.332, allocations: 10.84 kB / 1.005 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/1.332, allocations: 7.188 kB / 1.005 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/1.333, allocations: 0.8867 MB / 1.006 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/1.334, allocations: 199.8 kB / 1.006 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/1.334, allocations: 25.14 kB / 1.006 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/1.334, allocations: 41.11 kB / 1.007 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/1.334, allocations: 36.64 kB / 1.007 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/1.334, allocations: 22.86 kB / 1.007 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006601/1.335, allocations: 0.5082 MB / 1.007 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.335, allocations: 0 / 1.007 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001065/1.336, allocations: 197.9 kB / 1.007 GB, free: 8.793 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005174/1.337, allocations: 207.8 kB / 1.007 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007984/1.338, allocations: 468.7 kB / 1.008 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.338, allocations: 3.531 kB / 1.008 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002874/1.338, allocations: 211.9 kB / 1.008 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/1.34, allocations: 462.3 kB / 1.009 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/1.343, allocations: 1.986 MB / 1.011 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007786/1.344, allocations: 1.034 MB / 1.012 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/1.344, allocations: 64.98 kB / 1.012 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of SimCode: time 8.92e-07/1.344, allocations: 2.438 kB / 1.012 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of Templates: time 0.02353/1.367, allocations: 12.9 MB / 1.024 GB, free: 24 kB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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 OMCppBuildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o] Error 1