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.0008528/0.0008527, allocations: 102.7 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.001003/0.001003, allocations: 176 kB / 16.58 MB, free: 6.863 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.728/1.728, allocations: 205.4 MB / 222.8 MB, free: 5.664 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.88/1.88, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005776/0.0005777, allocations: 20.06 kB / 0.6744 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3078, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004308/0.3122, allocations: 3.287 MB / 0.7911 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.3145, allocations: 1.225 MB / 0.7923 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003211/0.3149, allocations: 15.94 kB / 0.7923 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.3151, allocations: 87.16 kB / 0.7924 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.3154, allocations: 83.31 kB / 0.7925 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.3159, allocations: 203.6 kB / 0.7927 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009006/0.3168, allocations: 0.881 MB / 0.7936 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005869/0.3174, allocations: 375.6 kB / 0.7939 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.3177, allocations: 222.7 kB / 0.7941 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.318, allocations: 286.2 kB / 0.7944 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.39e-05/0.3181, allocations: 28 kB / 0.7944 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.065e-05/0.3182, allocations: 24 kB / 0.7945 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.3183, allocations: 119.4 kB / 0.7946 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.3185, allocations: 157.2 kB / 0.7947 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008799/0.3194, allocations: 1.021 MB / 0.7957 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.3194, allocations: 4 kB / 0.7957 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3194, allocations: 0 / 0.7957 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.3194, allocations: 0 / 0.7957 GB, free: 3.895 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.002156/0.3216, allocations: 1.165 MB / 0.7969 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3216, allocations: 15.97 kB / 0.7969 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.3218, allocations: 94.88 kB / 0.797 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007694/0.3226, allocations: 0.5629 MB / 0.7975 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.3226, allocations: 58 kB / 0.7976 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3227, allocations: 79.98 kB / 0.7976 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.3245, allocations: 0.8384 MB / 0.7985 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3245, allocations: 0 / 0.7985 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/0.3246, allocations: 36 kB / 0.7985 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.3246, allocations: 16 kB / 0.7985 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.3264, allocations: 0.7573 MB / 0.7993 GB, free: 156 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.33, allocations: 2.52 MB / 0.8017 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.3319, allocations: 0.7999 MB / 0.8025 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008378/0.3327, allocations: 393.7 kB / 0.8029 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.3328, allocations: 8.438 kB / 0.8029 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009848/0.3338, allocations: 410.2 kB / 0.8033 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.946e-06/0.3338, allocations: 0 / 0.8033 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.002361/0.3362, allocations: 0.9822 MB / 0.8042 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.816e-05/0.3363, allocations: 133 kB / 0.8044 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/0.3371, allocations: 0.6134 MB / 0.805 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.46e-05/0.3371, allocations: 37.7 kB / 0.805 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.3375, allocations: 384 kB / 0.8054 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.3376, allocations: 169.5 kB / 0.8055 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.3377, allocations: 12 kB / 0.8055 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3379, allocations: 386.7 kB / 0.8059 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007311/0.3386, allocations: 309 kB / 0.8062 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008461/0.3395, allocations: 457.1 kB / 0.8066 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000815/0.3403, allocations: 397.3 kB / 0.807 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3403, allocations: 0 / 0.807 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001826/0.3421, allocations: 0.8881 MB / 0.8079 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.3423, allocations: 210.4 kB / 0.8081 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3423, allocations: 0 / 0.8081 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3423, allocations: 8 kB / 0.8081 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/0.343, allocations: 163.8 kB / 0.8082 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.343, allocations: 4 kB / 0.8082 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/0.3435, allocations: 155.2 kB / 0.8084 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.3436, allocations: 23.98 kB / 0.8084 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.3436, allocations: 4 kB / 0.8084 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/0.345, allocations: 0.6881 MB / 0.8091 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3451, allocations: 4 kB / 0.8091 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.934e-06/0.3451, allocations: 8 kB / 0.8091 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.3456, allocations: 135.8 kB / 0.8092 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3456, allocations: 8 kB / 0.8092 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.346, allocations: 115.4 kB / 0.8093 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.3461, allocations: 23.98 kB / 0.8094 GB, free: 5.473 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,$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.0004288/0.3465, allocations: 304.9 kB / 0.8097 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.89e-05/0.3466, allocations: 71.11 kB / 0.8097 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.3483, allocations: 0.7411 MB / 0.8105 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.3483, allocations: 8 kB / 0.8105 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3483, allocations: 0 / 0.8105 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3483, allocations: 3.984 kB / 0.8105 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000919/0.3493, allocations: 0.7276 MB / 0.8112 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3493, allocations: 0 / 0.8112 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.3498, allocations: 139.8 kB / 0.8113 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.3498, allocations: 3.953 kB / 0.8113 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.3499, allocations: 8 kB / 0.8113 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3499, allocations: 4 kB / 0.8113 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3499, allocations: 0 / 0.8113 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.3523, allocations: 1.108 MB / 0.8124 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.3524, allocations: 148.2 kB / 0.8125 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/0.3525, allocations: 23.88 kB / 0.8126 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.3529, allocations: 87.92 kB / 0.8127 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.3531, allocations: 48.36 kB / 0.8127 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.3531, allocations: 19.98 kB / 0.8127 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005606/0.3537, allocations: 431.1 kB / 0.8131 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3537, allocations: 0 / 0.8131 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007254/0.3544, allocations: 262.9 kB / 0.8134 GB, free: 1.254 MB / 0.6231 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.000177/0.3546, allocations: 115.2 kB / 0.8135 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.357, allocations: 1.249 MB / 0.8147 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.357, allocations: 3.938 kB / 0.8147 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/0.3578, allocations: 346.9 kB / 0.815 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006665/0.3585, allocations: 126.3 kB / 0.8152 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.361, allocations: 1.492 MB / 0.8166 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.3616, allocations: 0.9222 MB / 0.8175 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.3618, allocations: 51.42 kB / 0.8176 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/0.3618, allocations: 0 / 0.8176 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of Templates: time 0.01385/0.3757, allocations: 8.846 MB / 0.8262 GB, free: 4.023 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++ 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_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