Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 102.9 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.001523/0.001523, allocations: 174.6 kB / 16.58 MB, free: 6.402 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.567/1.567, allocations: 223.3 MB / 240.6 MB, free: 5.363 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.584/2.584, allocations: 390.5 MB / 0.6662 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 8 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.002, allocations: 142.3 MB / 0.9544 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2638/1.266, allocations: 201.5 MB / 1.151 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01051/1.277, allocations: 5.399 MB / 1.156 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/1.278, allocations: 39.69 kB / 1.156 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/1.28, allocations: 401.5 kB / 1.157 GB, free: 248 kB / 0.9044 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.005107/1.285, allocations: 1.38 MB / 1.158 GB, free: 14.85 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002954/1.288, allocations: 0.8411 MB / 1.159 GB, free: 14.02 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004896/1.293, allocations: 3.451 MB / 1.162 GB, free: 10.56 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/1.294, allocations: 0.7229 MB / 1.163 GB, free: 9.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/1.296, allocations: 0.8907 MB / 1.164 GB, free: 8.93 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/1.298, allocations: 0.8873 MB / 1.165 GB, free: 8.039 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/1.298, allocations: 40 kB / 1.165 GB, free: 8 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/1.3, allocations: 0.6937 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004407/1.301, allocations: 390.8 kB / 1.166 GB, free: 6.922 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003861/1.301, allocations: 261.1 kB / 1.166 GB, free: 6.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001755/1.303, allocations: 1.469 MB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.303, allocations: 0 / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.444e-06/1.303, allocations: 3.938 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.531e-05/1.303, allocations: 0 / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002328/1.305, allocations: 1.301 MB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.305, allocations: 8.031 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/1.307, allocations: 314.3 kB / 1.169 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/1.308, allocations: 0.7817 MB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/1.308, allocations: 69.98 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/1.309, allocations: 91.98 kB / 1.17 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/1.31, allocations: 0.917 MB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/1.31, allocations: 0 / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/1.31, allocations: 36 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/1.31, allocations: 30 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.312, allocations: 0.8432 MB / 1.172 GB, free: 0.7031 MB / 0.92 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.005213/1.317, allocations: 3.544 MB / 1.175 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/1.318, allocations: 0.4886 MB / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/1.318, allocations: 307.8 kB / 1.176 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/1.319, allocations: 101.5 kB / 1.176 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/1.319, allocations: 39 kB / 1.176 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/1.319, allocations: 0 / 1.176 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.003602/1.322, allocations: 1.895 MB / 1.178 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/1.322, allocations: 59.78 kB / 1.178 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009976/1.323, allocations: 0.8058 MB / 1.179 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/1.323, allocations: 37.7 kB / 1.179 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/1.324, allocations: 475.3 kB / 1.179 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/1.324, allocations: 177.5 kB / 1.18 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/1.324, allocations: 16 kB / 1.18 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.324, allocations: 322 kB / 1.18 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/1.324, allocations: 253.2 kB / 1.18 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/1.325, allocations: 380.7 kB / 1.181 GB, free: 7.406 MB / 0.9356 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.002609/1.328, allocations: 1.002 MB / 1.182 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.328, allocations: 0 / 1.182 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001285/1.329, allocations: 0.8004 MB / 1.182 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.329, allocations: 9.094 kB / 1.182 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.329, allocations: 4 kB / 1.182 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/1.329, allocations: 73.61 kB / 1.182 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/1.33, allocations: 163.8 kB / 1.183 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/1.332, allocations: 2.877 MB / 1.185 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/1.333, allocations: 59.97 kB / 1.185 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/1.333, allocations: 23.98 kB / 1.185 GB, free: 2.105 MB / 0.9356 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: 14 * 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 (71): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005261/1.334, allocations: 309.6 kB / 1.186 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/1.334, allocations: 94.88 kB / 1.186 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/1.334, allocations: 108.6 kB / 1.186 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.334, allocations: 4.141 kB / 1.186 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.334, allocations: 4 kB / 1.186 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/1.335, allocations: 0.8465 MB / 1.187 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/1.338, allocations: 1.803 MB / 1.189 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.338, allocations: 8 kB / 1.189 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/1.339, allocations: 144.2 kB / 1.189 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.126e-05/1.339, allocations: 32.84 kB / 1.189 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/1.339, allocations: 16 kB / 1.189 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/1.34, allocations: 1.476 MB / 1.19 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.34, allocations: 7.938 kB / 1.19 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/1.342, allocations: 1.08 MB / 1.191 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/1.342, allocations: 232 kB / 1.191 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.342, allocations: 20.06 kB / 1.191 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/1.343, allocations: 65.94 kB / 1.192 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.343, allocations: 47.83 kB / 1.192 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/1.343, allocations: 27.98 kB / 1.192 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007106/1.344, allocations: 0.5537 MB / 1.192 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.344, allocations: 0 / 1.192 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009114/1.345, allocations: 280 kB / 1.192 GB, free: 10.56 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * 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.0004698/1.345, allocations: 190.3 kB / 1.193 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001319/1.347, allocations: 0.8086 MB / 1.193 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/1.347, allocations: 4 kB / 1.193 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005659/1.347, allocations: 402.3 kB / 1.194 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.35, allocations: 0.5929 MB / 1.194 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/1.353, allocations: 2.223 MB / 1.197 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000786/1.354, allocations: 1.084 MB / 1.198 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/1.354, allocations: 79.42 kB / 1.198 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of SimCode: time 1.713e-06/1.354, allocations: 0 / 1.198 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of Templates: time 0.03381/1.388, allocations: 21.83 MB / 1.219 GB, free: 15.35 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlowCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowCalcHelperMain.o] Error 1