Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009221/0.0009221, allocations: 98.72 kB / 16.02 MB, free: 76 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.001024/0.001024, allocations: 184.9 kB / 16.92 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 223.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.869/1.869, allocations: 292.7 MB / 0.5509 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006098/0.0006096, allocations: 18.75 kB / 0.675 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2716, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.005581/0.2772, allocations: 3.482 MB / 0.7919 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003372/0.2806, allocations: 1.272 MB / 0.7932 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006479/0.2813, allocations: 15.94 kB / 0.7932 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.2817, allocations: 95.09 kB / 0.7933 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.2822, allocations: 95.3 kB / 0.7934 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.283, allocations: 299.8 kB / 0.7937 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.2842, allocations: 0.9354 MB / 0.7946 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.2852, allocations: 0.5153 MB / 0.7951 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.2856, allocations: 234.6 kB / 0.7953 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004205/0.2861, allocations: 298 kB / 0.7956 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2862, allocations: 28 kB / 0.7956 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.104e-05/0.2863, allocations: 24 kB / 0.7956 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.2864, allocations: 123.3 kB / 0.7958 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.2867, allocations: 347.4 kB / 0.7961 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008602/0.2876, allocations: 1.021 MB / 0.7971 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2876, allocations: 0 / 0.7971 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2876, allocations: 0 / 0.7971 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.2877, allocations: 0 / 0.7971 GB, free: 2.766 MB / 0.6075 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.002715/0.2904, allocations: 1.161 MB / 0.7982 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/0.2905, allocations: 8.031 kB / 0.7982 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.2908, allocations: 99.8 kB / 0.7983 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.2921, allocations: 0.5755 MB / 0.7989 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.673e-05/0.2922, allocations: 70.3 kB / 0.799 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.2924, allocations: 72.38 kB / 0.799 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.295, allocations: 0.8505 MB / 0.7999 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.295, allocations: 0 / 0.7999 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.2951, allocations: 32 kB / 0.7999 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.2952, allocations: 20 kB / 0.7999 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.2979, allocations: 0.7612 MB / 0.8006 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005195/0.3031, allocations: 2.524 MB / 0.8031 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/0.3059, allocations: 0.8009 MB / 0.8039 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.3072, allocations: 393.7 kB / 0.8043 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.21e-05/0.3073, allocations: 8.438 kB / 0.8043 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001461/0.3088, allocations: 421.1 kB / 0.8047 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 4.628e-06/0.3088, allocations: 0 / 0.8047 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.003811/0.3126, allocations: 0.9822 MB / 0.8056 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.3128, allocations: 137 kB / 0.8058 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.314, allocations: 0.6173 MB / 0.8064 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.681e-05/0.3141, allocations: 41.69 kB / 0.8064 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/0.3146, allocations: 381.2 kB / 0.8068 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.3148, allocations: 169.5 kB / 0.8069 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.315, allocations: 57.69 kB / 0.807 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002549/0.3152, allocations: 382.7 kB / 0.8074 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.3164, allocations: 313 kB / 0.8077 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.3179, allocations: 461.1 kB / 0.8081 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.3198, allocations: 0.7405 MB / 0.8088 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3198, allocations: 0 / 0.8088 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002235/0.322, allocations: 0.896 MB / 0.8097 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.3222, allocations: 210.4 kB / 0.8099 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3223, allocations: 4 kB / 0.8099 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.3223, allocations: 7.984 kB / 0.8099 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.3229, allocations: 163.8 kB / 0.8101 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.323, allocations: 11.88 kB / 0.8101 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006667/0.3236, allocations: 151.2 kB / 0.8102 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.3237, allocations: 27.98 kB / 0.8102 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/0.3237, allocations: 8 kB / 0.8102 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001499/0.3252, allocations: 0.6921 MB / 0.8109 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.3252, allocations: 0 / 0.8109 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/0.3252, allocations: 8 kB / 0.8109 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.3257, allocations: 139.8 kB / 0.8111 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3258, allocations: 4 kB / 0.8111 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.3263, allocations: 119.3 kB / 0.8112 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.3263, allocations: 16 kB / 0.8112 GB, free: 3.824 MB / 0.6231 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,m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,TRoo.count,$PRE.TRoo.count,TRoo.T_start,$PRE.TRoo.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000458/0.3268, allocations: 313.6 kB / 0.8115 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.774e-05/0.3269, allocations: 67.16 kB / 0.8116 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.3287, allocations: 0.7373 MB / 0.8123 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3288, allocations: 8 kB / 0.8123 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3288, allocations: 0 / 0.8123 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.3288, allocations: 3.984 kB / 0.8123 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008305/0.3296, allocations: 0.7314 MB / 0.813 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3296, allocations: 0 / 0.813 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.3302, allocations: 139.8 kB / 0.8131 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3302, allocations: 4 kB / 0.8131 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.3303, allocations: 8 kB / 0.8132 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3303, allocations: 7.938 kB / 0.8132 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3303, allocations: 0 / 0.8132 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/0.3329, allocations: 1.116 MB / 0.8142 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.3331, allocations: 156.2 kB / 0.8144 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.291e-05/0.3332, allocations: 12 kB / 0.8144 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.3337, allocations: 91.91 kB / 0.8145 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3338, allocations: 44.38 kB / 0.8145 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.3338, allocations: 15.98 kB / 0.8146 GB, free: 280 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005788/0.3344, allocations: 435.1 kB / 0.815 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3344, allocations: 0 / 0.815 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006834/0.3351, allocations: 259 kB / 0.8152 GB, free: 15.6 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000171/0.3353, allocations: 119.2 kB / 0.8153 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002739/0.338, allocations: 1.256 MB / 0.8166 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3381, allocations: 0 / 0.8166 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008572/0.3389, allocations: 358.8 kB / 0.8169 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.3396, allocations: 129.3 kB / 0.817 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.3422, allocations: 1.578 MB / 0.8186 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.3427, allocations: 0.9222 MB / 0.8195 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.3429, allocations: 51.42 kB / 0.8195 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of SimCode: time 1.893e-06/0.3429, allocations: 4 kB / 0.8195 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of Templates: time 0.01313/0.356, allocations: 8.813 MB / 0.8281 GB, free: 2.293 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBoxCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBoxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBoxCalcHelperMain.o] Error 1