Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 102.3 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.001351/0.001351, allocations: 176.5 kB / 16.58 MB, free: 6.043 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.535/1.535, allocations: 223.3 MB / 240.6 MB, free: 5.328 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.608/2.608, allocations: 390.4 MB / 0.6662 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003943, allocations: 8 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9027/0.9031, allocations: 142.3 MB / 0.9544 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2014/1.105, allocations: 155.4 MB / 1.106 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00762/1.112, allocations: 4.034 MB / 1.11 GB, free: 364 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009541/1.113, allocations: 19.88 kB / 1.11 GB, free: 344 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000969/1.114, allocations: 238.5 kB / 1.11 GB, free: 104 kB / 0.8575 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:730:36-731: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:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003/1.117, allocations: 0.9019 MB / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/1.119, allocations: 0.5579 MB / 1.112 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002727/1.122, allocations: 1.991 MB / 1.114 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007211/1.123, allocations: 412.6 kB / 1.114 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/1.124, allocations: 0.5835 MB / 1.115 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009023/1.125, allocations: 0.5293 MB / 1.115 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.777e-05/1.125, allocations: 24 kB / 1.115 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/1.126, allocations: 407.1 kB / 1.116 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002722/1.126, allocations: 227.3 kB / 1.116 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/1.127, allocations: 177.3 kB / 1.116 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/1.128, allocations: 0.8845 MB / 1.117 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.128, allocations: 0 / 1.117 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.964e-06/1.128, allocations: 0 / 1.117 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.999e-06/1.128, allocations: 0 / 1.117 GB, free: 9.414 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001798/1.13, allocations: 0.9156 MB / 1.118 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.13, allocations: 8.031 kB / 1.118 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009778/1.131, allocations: 163.1 kB / 1.118 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/1.131, allocations: 0.5097 MB / 1.118 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/1.132, allocations: 37.31 kB / 1.118 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/1.132, allocations: 52 kB / 1.119 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/1.133, allocations: 0.6519 MB / 1.119 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/1.133, allocations: 3.953 kB / 1.119 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/1.133, allocations: 20 kB / 1.119 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/1.133, allocations: 29.25 kB / 1.119 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000978/1.134, allocations: 0.5165 MB / 1.12 GB, free: 6.406 MB / 0.8731 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.003477/1.137, allocations: 2.305 MB / 1.122 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/1.138, allocations: 274.7 kB / 1.122 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/1.138, allocations: 133.4 kB / 1.122 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/1.138, allocations: 4 kB / 1.122 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/1.138, allocations: 42.56 kB / 1.122 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/1.138, allocations: 0 / 1.122 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001665/1.14, allocations: 0.6902 MB / 1.123 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/1.14, allocations: 81.06 kB / 1.123 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006902/1.141, allocations: 0.5457 MB / 1.124 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/1.141, allocations: 33.7 kB / 1.124 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/1.141, allocations: 339 kB / 1.124 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/1.141, allocations: 67.09 kB / 1.124 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/1.141, allocations: 12 kB / 1.124 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.141, allocations: 358.8 kB / 1.124 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/1.142, allocations: 136.6 kB / 1.125 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/1.142, allocations: 226.5 kB / 1.125 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/1.142, allocations: 167.9 kB / 1.125 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.142, allocations: 0 / 1.125 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009431/1.143, allocations: 0.5061 MB / 1.125 GB, free: 196 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.143, allocations: 5.094 kB / 1.125 GB, free: 192 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.143, allocations: 4 kB / 1.125 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/1.144, allocations: 105.8 kB / 1.126 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/1.144, allocations: 71.91 kB / 1.126 GB, free: 4 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/1.147, allocations: 3.096 MB / 1.129 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/1.148, allocations: 71.48 kB / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/1.148, allocations: 8 kB / 1.129 GB, free: 12.56 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004196/1.148, allocations: 223.7 kB / 1.129 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/1.148, allocations: 59.39 kB / 1.129 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.866e-05/1.149, allocations: 48.52 kB / 1.129 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.149, allocations: 0 / 1.129 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.149, allocations: 7.984 kB / 1.129 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007947/1.149, allocations: 0.5397 MB / 1.13 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/1.151, allocations: 0.9243 MB / 1.131 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.151, allocations: 4 kB / 1.131 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/1.151, allocations: 40.05 kB / 1.131 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/1.151, allocations: 68.8 kB / 1.131 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/1.151, allocations: 7.938 kB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/1.153, allocations: 1.683 MB / 1.132 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/1.153, allocations: 7.969 kB / 1.132 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006681/1.154, allocations: 443.3 kB / 1.133 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/1.154, allocations: 168.3 kB / 1.133 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.587e-05/1.154, allocations: 7.984 kB / 1.133 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/1.155, allocations: 33.62 kB / 1.133 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/1.155, allocations: 19.97 kB / 1.133 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/1.155, allocations: 15.98 kB / 1.133 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005277/1.155, allocations: 394.8 kB / 1.133 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/1.155, allocations: 7.938 kB / 1.133 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008485/1.156, allocations: 211.6 kB / 1.134 GB, free: 7.363 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004875/1.157, allocations: 163 kB / 1.134 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009919/1.158, allocations: 0.5338 MB / 1.134 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.158, allocations: 0 / 1.134 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/1.158, allocations: 263.2 kB / 1.134 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.16, allocations: 356 kB / 1.135 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/1.162, allocations: 1.233 MB / 1.136 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/1.162, allocations: 0.9132 MB / 1.137 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/1.162, allocations: 39.44 kB / 1.137 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of SimCode: time 1.142e-06/1.162, allocations: 3.938 kB / 1.137 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of Templates: time 0.01994/1.182, allocations: 13.35 MB / 1.15 GB, free: 6.52 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Examples.MixingVolumeHeatConductionCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConductionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConductionCalcHelperMain.o] Error 1