Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001059, 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.001039/0.001039, allocations: 173.2 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.528/1.528, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.806/2.806, allocations: 436.7 MB / 0.7113 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 8 kB / 0.8717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.03, allocations: 153.6 MB / 1.022 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004557/1.035, allocations: 3.284 MB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002675/1.038, allocations: 1.208 MB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005131/1.038, allocations: 15.94 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003434/1.039, allocations: 91.09 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/1.039, allocations: 79.36 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/1.04, allocations: 203.7 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008606/1.04, allocations: 0.8694 MB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006145/1.041, allocations: 367.5 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/1.041, allocations: 214.8 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/1.042, allocations: 274.3 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/1.042, allocations: 24 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.403e-05/1.042, allocations: 24 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/1.042, allocations: 111.4 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/1.042, allocations: 157.3 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008726/1.043, allocations: 0.972 MB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.043, allocations: 0 / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.128e-06/1.043, allocations: 0 / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.043, allocations: 0 / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002129/1.045, allocations: 1.128 MB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.045, allocations: 8.031 kB / 1.031 GB, free: 8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/1.045, allocations: 94.88 kB / 1.031 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007179/1.046, allocations: 0.5141 MB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/1.046, allocations: 61.94 kB / 1.031 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/1.046, allocations: 72 kB / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/1.048, allocations: 0.8501 MB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/1.048, allocations: 0 / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/1.048, allocations: 35.98 kB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/1.048, allocations: 19.98 kB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.05, allocations: 0.7495 MB / 1.033 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/1.054, allocations: 2.497 MB / 1.035 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/1.056, allocations: 0.7981 MB / 1.036 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/1.056, allocations: 386 kB / 1.036 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.045e-05/1.057, allocations: 12.41 kB / 1.036 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009577/1.058, allocations: 413.1 kB / 1.037 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=51): time 3.156e-06/1.058, allocations: 0 / 1.037 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of matching and sorting (n=51): time 0.002406/1.06, allocations: 0.9746 MB / 1.038 GB, free: 376 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.06, allocations: 133 kB / 1.038 GB, free: 212 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007687/1.061, allocations: 0.5616 MB / 1.038 GB, free: 15.63 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/1.061, allocations: 41.69 kB / 1.038 GB, free: 15.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/1.061, allocations: 360.1 kB / 1.039 GB, free: 15.23 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/1.061, allocations: 169.5 kB / 1.039 GB, free: 15.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/1.061, allocations: 12 kB / 1.039 GB, free: 15.05 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.062, allocations: 374.8 kB / 1.039 GB, free: 14.68 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/1.062, allocations: 305 kB / 1.04 GB, free: 14.38 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009499/1.063, allocations: 457.1 kB / 1.04 GB, free: 13.89 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008748/1.064, allocations: 401.3 kB / 1.04 GB, free: 13.48 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.064, allocations: 0 / 1.04 GB, free: 13.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001809/1.066, allocations: 0.8803 MB / 1.041 GB, free: 12.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/1.066, allocations: 218.3 kB / 1.042 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.066, allocations: 0 / 1.042 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.066, allocations: 11.92 kB / 1.042 GB, free: 12.31 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/1.067, allocations: 163.8 kB / 1.042 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.067, allocations: 11.94 kB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/1.068, allocations: 147.3 kB / 1.042 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/1.068, allocations: 20 kB / 1.042 GB, free: 11.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/1.068, allocations: 5.875 kB / 1.042 GB, free: 11.97 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/1.069, allocations: 0.6882 MB / 1.043 GB, free: 11.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.069, allocations: 4 kB / 1.043 GB, free: 11.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.762e-06/1.069, allocations: 8 kB / 1.043 GB, free: 11.26 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/1.069, allocations: 131.8 kB / 1.043 GB, free: 11.13 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.07, allocations: 12.05 kB / 1.043 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/1.07, allocations: 123.3 kB / 1.043 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/1.07, allocations: 23.94 kB / 1.043 GB, free: 10.98 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 13 (conMix.conFloRat.con1.y,conMix.conCoo.con1.y,conMix.conHea.con1.y,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.000499/1.071, allocations: 305 kB / 1.043 GB, free: 10.67 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/1.071, allocations: 63.16 kB / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/1.072, allocations: 0.7328 MB / 1.044 GB, free: 9.863 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.072, allocations: 8 kB / 1.044 GB, free: 9.855 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.072, allocations: 0 / 1.044 GB, free: 9.855 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/1.072, allocations: 7.938 kB / 1.044 GB, free: 9.848 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008453/1.073, allocations: 0.7081 MB / 1.045 GB, free: 9.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/1.073, allocations: 0 / 1.045 GB, free: 9.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/1.074, allocations: 135.8 kB / 1.045 GB, free: 8.957 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/1.074, allocations: 4 kB / 1.045 GB, free: 8.953 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/1.074, allocations: 19.98 kB / 1.045 GB, free: 8.934 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.074, allocations: 0 / 1.045 GB, free: 8.934 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.074, allocations: 0 / 1.045 GB, free: 8.934 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/1.076, allocations: 1.105 MB / 1.046 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/1.076, allocations: 144.2 kB / 1.046 GB, free: 7.652 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/1.076, allocations: 12 kB / 1.046 GB, free: 7.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/1.077, allocations: 91.91 kB / 1.046 GB, free: 7.551 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/1.077, allocations: 48.36 kB / 1.046 GB, free: 7.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/1.077, allocations: 19.94 kB / 1.046 GB, free: 7.48 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004926/1.078, allocations: 398.8 kB / 1.047 GB, free: 7.094 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.078, allocations: 0 / 1.047 GB, free: 7.094 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000764/1.078, allocations: 262.9 kB / 1.047 GB, free: 6.836 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001744/1.079, allocations: 115.1 kB / 1.047 GB, free: 6.715 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002676/1.081, allocations: 1.245 MB / 1.048 GB, free: 5.422 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.081, allocations: 8 kB / 1.048 GB, free: 5.414 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007645/1.082, allocations: 342.8 kB / 1.048 GB, free: 5.078 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/1.083, allocations: 118.2 kB / 1.049 GB, free: 4.957 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/1.085, allocations: 1.432 MB / 1.05 GB, free: 3.484 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/1.086, allocations: 0.9143 MB / 1.051 GB, free: 2.539 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/1.086, allocations: 51.42 kB / 1.051 GB, free: 2.488 MB / 0.795 GB Notification: Performance of SimCode: time 1.683e-06/1.086, allocations: 0 / 1.051 GB, free: 2.488 MB / 0.795 GB Notification: Performance of Templates: time 0.0158/1.102, allocations: 8.522 MB / 1.059 GB, free: 10 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile make -j1 -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBoxCalcHelperMain.o OMCppBuildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBoxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBoxCalcHelperMain.o] Error 1