Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009224, allocations: 99.59 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.001226/0.001226, allocations: 173.6 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.545/1.545, allocations: 223.2 MB / 240.6 MB, free: 5.398 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.606/2.606, allocations: 390.4 MB / 0.6662 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003885, allocations: 11.98 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9188/0.9193, allocations: 142.3 MB / 0.9544 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2279/1.147, allocations: 180.5 MB / 1.131 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009845/1.157, allocations: 4.897 MB / 1.135 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/1.159, allocations: 31.75 kB / 1.136 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/1.161, allocations: 401.2 kB / 1.136 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004873/1.166, allocations: 1.364 MB / 1.137 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004224/1.17, allocations: 1.232 MB / 1.138 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005134/1.175, allocations: 3.024 MB / 1.141 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/1.177, allocations: 1.122 MB / 1.142 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/1.18, allocations: 1.043 MB / 1.144 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/1.182, allocations: 1.027 MB / 1.145 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002251/1.182, allocations: 84 kB / 1.145 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/1.184, allocations: 0.8653 MB / 1.145 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005901/1.185, allocations: 422.5 kB / 1.146 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005221/1.185, allocations: 277 kB / 1.146 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/1.188, allocations: 1.878 MB / 1.148 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/1.188, allocations: 3.984 kB / 1.148 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.384e-06/1.188, allocations: 0 / 1.148 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.308e-05/1.188, allocations: 3.938 kB / 1.148 GB, free: 9.43 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.005182/1.193, allocations: 1.846 MB / 1.15 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/1.193, allocations: 8.031 kB / 1.15 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/1.194, allocations: 230 kB / 1.15 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/1.197, allocations: 1.252 MB / 1.151 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/1.197, allocations: 65.62 kB / 1.151 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/1.197, allocations: 76 kB / 1.151 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/1.199, allocations: 0.8183 MB / 1.152 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/1.199, allocations: 0 / 1.152 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/1.199, allocations: 27.98 kB / 1.152 GB, free: 5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/1.199, allocations: 29.3 kB / 1.152 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/1.201, allocations: 0.8639 MB / 1.153 GB, free: 4.105 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.006108/1.207, allocations: 3.467 MB / 1.156 GB, free: 492 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/1.208, allocations: 0.7393 MB / 1.157 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007752/1.209, allocations: 457.8 kB / 1.158 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004383/1.21, allocations: 291.6 kB / 1.158 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/1.21, allocations: 42.94 kB / 1.158 GB, free: 14.87 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001207/1.211, allocations: 239.3 kB / 1.158 GB, free: 14.64 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 4.178e-06/1.211, allocations: 0 / 1.158 GB, free: 14.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.002907/1.214, allocations: 1.337 MB / 1.159 GB, free: 13.29 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/1.214, allocations: 59.84 kB / 1.159 GB, free: 13.22 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/1.217, allocations: 1.621 MB / 1.161 GB, free: 11.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/1.217, allocations: 45.7 kB / 1.161 GB, free: 11.54 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004981/1.217, allocations: 0.5307 MB / 1.162 GB, free: 11 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/1.218, allocations: 177.3 kB / 1.162 GB, free: 10.82 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/1.218, allocations: 12 kB / 1.162 GB, free: 10.81 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.218, allocations: 329.9 kB / 1.162 GB, free: 10.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006863/1.218, allocations: 360.8 kB / 1.162 GB, free: 10.13 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009677/1.219, allocations: 0.6169 MB / 1.163 GB, free: 9.418 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007825/1.22, allocations: 425.9 kB / 1.163 GB, free: 9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.22, allocations: 0 / 1.163 GB, free: 9 MB / 0.92 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002052/1.222, allocations: 0.966 MB / 1.164 GB, free: 8.023 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.998e-05/1.222, allocations: 98.92 kB / 1.165 GB, free: 7.926 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.222, allocations: 0 / 1.165 GB, free: 7.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.222, allocations: 7.938 kB / 1.165 GB, free: 7.918 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008593/1.223, allocations: 167.8 kB / 1.165 GB, free: 7.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/1.223, allocations: 7.938 kB / 1.165 GB, free: 7.746 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/1.225, allocations: 167 kB / 1.165 GB, free: 7.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/1.225, allocations: 35.97 kB / 1.165 GB, free: 7.551 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/1.225, allocations: 4 kB / 1.165 GB, free: 7.547 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001569/1.227, allocations: 0.8135 MB / 1.166 GB, free: 6.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/1.227, allocations: 0 / 1.166 GB, free: 6.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/1.227, allocations: 4 kB / 1.166 GB, free: 6.727 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007636/1.227, allocations: 171.7 kB / 1.166 GB, free: 6.559 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/1.227, allocations: 0 / 1.166 GB, free: 6.559 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/1.229, allocations: 165.4 kB / 1.166 GB, free: 6.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/1.229, allocations: 27.97 kB / 1.166 GB, free: 6.375 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 57 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006378/1.23, allocations: 372.9 kB / 1.166 GB, free: 6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/1.23, allocations: 134.3 kB / 1.167 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/1.232, allocations: 1.058 MB / 1.168 GB, free: 4.801 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.232, allocations: 11.98 kB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.232, allocations: 0 / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.232, allocations: 3.984 kB / 1.168 GB, free: 4.785 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 postOpt removeSimpleEquations (simulation): time 0.003873/1.236, allocations: 2.489 MB / 1.17 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.236, allocations: 4 kB / 1.17 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/1.237, allocations: 140.1 kB / 1.17 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/1.237, allocations: 8 kB / 1.17 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/1.237, allocations: 19.95 kB / 1.17 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-06/1.237, allocations: 4 kB / 1.17 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.237, allocations: 3.938 kB / 1.17 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/1.24, allocations: 1.559 MB / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006022/1.24, allocations: 351.3 kB / 1.172 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/1.24, allocations: 23.92 kB / 1.172 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.242, allocations: 107.7 kB / 1.172 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/1.242, allocations: 40.5 kB / 1.172 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/1.242, allocations: 23.98 kB / 1.172 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00189/1.244, allocations: 1.174 MB / 1.173 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/1.244, allocations: 0 / 1.173 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001523/1.245, allocations: 0.5031 MB / 1.174 GB, free: 14.18 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[2]) * 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 (64): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005387/1.246, allocations: 224.3 kB / 1.174 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002511/1.248, allocations: 1.252 MB / 1.175 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.248, allocations: 8 kB / 1.175 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007585/1.249, allocations: 427.5 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/1.252, allocations: 0.5718 MB / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/1.256, allocations: 2.537 MB / 1.179 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/1.256, allocations: 1.141 MB / 1.18 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/1.257, allocations: 131.3 kB / 1.18 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of SimCode: time 1.072e-06/1.257, allocations: 0 / 1.18 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of Templates: time 0.03531/1.292, allocations: 20.79 MB / 1.2 GB, free: 3.227 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlowCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlowCalcHelperMain.o] Error 1