Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 102.6 kB / 15.71 MB, free: 460 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.001277/0.001277, allocations: 176 kB / 16.58 MB, free: 6.859 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.463/1.463, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.613/2.613, allocations: 390.4 MB / 0.6662 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 19.98 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9289/0.9293, allocations: 142.3 MB / 0.9544 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.218/1.147, allocations: 173.3 MB / 1.124 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01006/1.157, allocations: 5.384 MB / 1.129 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/1.159, allocations: 35.75 kB / 1.129 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/1.16, allocations: 393.5 kB / 1.129 GB, free: 12.55 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004137/1.164, allocations: 1.357 MB / 1.131 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002769/1.167, allocations: 0.8543 MB / 1.131 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004388/1.171, allocations: 3.45 MB / 1.135 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/1.173, allocations: 0.8017 MB / 1.136 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/1.175, allocations: 0.8791 MB / 1.136 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/1.176, allocations: 0.9146 MB / 1.137 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/1.176, allocations: 48 kB / 1.137 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/1.178, allocations: 0.7015 MB / 1.138 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006061/1.179, allocations: 498.6 kB / 1.139 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004221/1.179, allocations: 285.1 kB / 1.139 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002031/1.181, allocations: 1.633 MB / 1.14 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.181, allocations: 0 / 1.14 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.356e-06/1.181, allocations: 4 kB / 1.14 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.417e-05/1.182, allocations: 0 / 1.14 GB, free: 1.105 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003059/1.185, allocations: 1.379 MB / 1.142 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.185, allocations: 16.03 kB / 1.142 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/1.187, allocations: 326.2 kB / 1.142 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/1.188, allocations: 0.8401 MB / 1.143 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/1.188, allocations: 77.98 kB / 1.143 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/1.188, allocations: 99.94 kB / 1.143 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/1.19, allocations: 1.081 MB / 1.144 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/1.19, allocations: 4 kB / 1.144 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.19, allocations: 51.95 kB / 1.144 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/1.19, allocations: 37.98 kB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/1.192, allocations: 0.9954 MB / 1.145 GB, free: 12.11 MB / 0.9044 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.006218/1.198, allocations: 4.263 MB / 1.149 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008874/1.199, allocations: 0.5908 MB / 1.15 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/1.2, allocations: 354.4 kB / 1.15 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/1.2, allocations: 105.5 kB / 1.15 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/1.2, allocations: 42.94 kB / 1.15 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=53): time 2.996e-06/1.2, allocations: 0 / 1.15 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55): time 0.004188/1.204, allocations: 2.22 MB / 1.153 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/1.204, allocations: 63.92 kB / 1.153 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/1.205, allocations: 0.8726 MB / 1.154 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/1.205, allocations: 37.7 kB / 1.154 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/1.206, allocations: 0.5146 MB / 1.154 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/1.206, allocations: 197.1 kB / 1.154 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/1.206, allocations: 16 kB / 1.154 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.206, allocations: 338 kB / 1.155 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/1.207, allocations: 285.8 kB / 1.155 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008504/1.208, allocations: 442.5 kB / 1.155 GB, free: 1.258 MB / 0.9044 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/1.211, allocations: 1.109 MB / 1.156 GB, free: 136 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.211, allocations: 0 / 1.156 GB, free: 136 kB / 0.9044 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001561/1.212, allocations: 0.9257 MB / 1.157 GB, free: 15.2 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.212, allocations: 8 kB / 1.157 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.212, allocations: 4.5 kB / 1.157 GB, free: 15.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002129/1.212, allocations: 102.5 kB / 1.157 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/1.213, allocations: 171.7 kB / 1.158 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/1.216, allocations: 4.278 MB / 1.162 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009558/1.217, allocations: 71.8 kB / 1.162 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/1.217, allocations: 31.98 kB / 1.162 GB, free: 10.12 MB / 0.92 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005912/1.218, allocations: 353.1 kB / 1.162 GB, free: 9.773 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/1.218, allocations: 98.88 kB / 1.162 GB, free: 9.676 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/1.218, allocations: 117.1 kB / 1.162 GB, free: 9.559 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.218, allocations: 4 kB / 1.162 GB, free: 9.555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.218, allocations: 0 / 1.162 GB, free: 9.555 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001061/1.219, allocations: 0.7692 MB / 1.163 GB, free: 8.734 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/1.222, allocations: 2.003 MB / 1.165 GB, free: 6.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.222, allocations: 4 kB / 1.165 GB, free: 6.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/1.223, allocations: 155.8 kB / 1.165 GB, free: 6.469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/1.223, allocations: 48.98 kB / 1.165 GB, free: 6.418 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/1.223, allocations: 12 kB / 1.165 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/1.224, allocations: 1.491 MB / 1.167 GB, free: 4.781 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.224, allocations: 8.062 kB / 1.167 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/1.226, allocations: 1.214 MB / 1.168 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/1.227, allocations: 255.9 kB / 1.168 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.227, allocations: 16 kB / 1.168 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/1.227, allocations: 79.69 kB / 1.168 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.228, allocations: 47.94 kB / 1.168 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/1.228, allocations: 27.98 kB / 1.168 GB, free: 3.062 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008074/1.228, allocations: 0.6044 MB / 1.169 GB, free: 2.461 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.71e-07/1.228, allocations: 4 kB / 1.169 GB, free: 2.457 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001016/1.23, allocations: 304 kB / 1.169 GB, free: 2.16 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004764/1.23, allocations: 195.4 kB / 1.169 GB, free: 1.965 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001505/1.232, allocations: 1.007 MB / 1.17 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.232, allocations: 192 / 1.17 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006285/1.232, allocations: 454.4 kB / 1.171 GB, free: 472 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.235, allocations: 0.6283 MB / 1.171 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/1.238, allocations: 2.59 MB / 1.174 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/1.239, allocations: 1.17 MB / 1.175 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/1.239, allocations: 75.44 kB / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/1.239, allocations: 0 / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of Templates: time 0.03324/1.273, allocations: 26.85 MB / 1.201 GB, free: 1.188 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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/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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o] Error 1