Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009121/0.0009122, allocations: 99.67 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.001126/0.001126, allocations: 171.8 kB / 16.58 MB, free: 6.422 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.496/1.496, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.856/2.856, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004642, allocations: 16.2 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.01, allocations: 153.7 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2212/1.231, allocations: 173.4 MB / 1.191 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01077/1.242, allocations: 5.398 MB / 1.196 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/1.244, allocations: 31.75 kB / 1.196 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/1.245, allocations: 405.5 kB / 1.197 GB, free: 13.38 MB / 0.9512 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.004852/1.25, allocations: 1.376 MB / 1.198 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/1.253, allocations: 0.8665 MB / 1.199 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005044/1.258, allocations: 3.438 MB / 1.202 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/1.26, allocations: 0.7181 MB / 1.203 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/1.262, allocations: 0.879 MB / 1.204 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/1.265, allocations: 0.8639 MB / 1.205 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003466/1.265, allocations: 44 kB / 1.205 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/1.268, allocations: 0.7015 MB / 1.205 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000861/1.269, allocations: 386.8 kB / 1.206 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008872/1.27, allocations: 261.1 kB / 1.206 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/1.272, allocations: 1.477 MB / 1.208 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.272, allocations: 0 / 1.208 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.355e-06/1.272, allocations: 0 / 1.208 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.503e-05/1.272, allocations: 0 / 1.208 GB, free: 2.34 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002293/1.274, allocations: 1.305 MB / 1.209 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.275, allocations: 11.98 kB / 1.209 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/1.276, allocations: 314.2 kB / 1.209 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/1.278, allocations: 0.7818 MB / 1.21 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/1.278, allocations: 73.95 kB / 1.21 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/1.278, allocations: 80 kB / 1.21 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/1.28, allocations: 0.9131 MB / 1.211 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/1.28, allocations: 0 / 1.211 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/1.28, allocations: 36 kB / 1.211 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/1.28, allocations: 34 kB / 1.211 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/1.281, allocations: 0.8315 MB / 1.212 GB, free: 13.86 MB / 0.9669 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.005601/1.287, allocations: 3.544 MB / 1.215 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/1.288, allocations: 0.4981 MB / 1.216 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/1.288, allocations: 294 kB / 1.216 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/1.288, allocations: 109.5 kB / 1.216 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/1.289, allocations: 39 kB / 1.216 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/1.289, allocations: 0 / 1.216 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49): time 0.004124/1.293, allocations: 1.942 MB / 1.218 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/1.293, allocations: 59.84 kB / 1.218 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/1.294, allocations: 0.7941 MB / 1.219 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/1.294, allocations: 41.69 kB / 1.219 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/1.294, allocations: 483.2 kB / 1.219 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/1.294, allocations: 173.5 kB / 1.22 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/1.294, allocations: 8 kB / 1.22 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.295, allocations: 337.9 kB / 1.22 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/1.295, allocations: 245.2 kB / 1.22 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/1.296, allocations: 353.3 kB / 1.22 GB, free: 4.562 MB / 0.9669 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.002794/1.298, allocations: 1.008 MB / 1.221 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.298, allocations: 4 kB / 1.221 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001493/1.3, allocations: 0.7923 MB / 1.222 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.3, allocations: 4 kB / 1.222 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.3, allocations: 4 kB / 1.222 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002929/1.3, allocations: 102 kB / 1.222 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/1.301, allocations: 155.8 kB / 1.222 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/1.304, allocations: 3.054 MB / 1.225 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009449/1.305, allocations: 55.92 kB / 1.225 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/1.305, allocations: 35.94 kB / 1.226 GB, free: 15.06 MB / 0.9825 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: 12 * 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 (67): * Single equations (assignments): 65 * 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 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006196/1.306, allocations: 297.6 kB / 1.226 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/1.306, allocations: 95.11 kB / 1.226 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/1.306, allocations: 100.7 kB / 1.226 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.306, allocations: 4 kB / 1.226 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.306, allocations: 4 kB / 1.226 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/1.307, allocations: 0.8544 MB / 1.227 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/1.31, allocations: 1.798 MB / 1.229 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.31, allocations: 4 kB / 1.229 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/1.311, allocations: 148.2 kB / 1.229 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/1.311, allocations: 68.8 kB / 1.229 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/1.311, allocations: 12 kB / 1.229 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/1.313, allocations: 1.64 MB / 1.23 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.313, allocations: 4.031 kB / 1.23 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/1.315, allocations: 1.092 MB / 1.231 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/1.315, allocations: 228 kB / 1.232 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.315, allocations: 31.91 kB / 1.232 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/1.316, allocations: 71.78 kB / 1.232 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.316, allocations: 47.91 kB / 1.232 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/1.316, allocations: 27.98 kB / 1.232 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007743/1.317, allocations: 0.5497 MB / 1.232 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/1.317, allocations: 4 kB / 1.232 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009736/1.318, allocations: 288 kB / 1.233 GB, free: 7.312 MB / 0.9825 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 (45): * Single equations (assignments): 44 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004657/1.318, allocations: 180.1 kB / 1.233 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001363/1.32, allocations: 0.8044 MB / 1.234 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.32, allocations: 4 kB / 1.234 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006149/1.32, allocations: 423.9 kB / 1.234 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.323, allocations: 0.5802 MB / 1.235 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/1.326, allocations: 2.229 MB / 1.237 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/1.327, allocations: 1.084 MB / 1.238 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/1.327, allocations: 67.44 kB / 1.238 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/1.327, allocations: 4 kB / 1.238 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of Templates: time 0.7377/2.065, allocations: 21.76 MB / 1.259 GB, free: 229.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowCalcHelperMain.o] Error 1