Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.0008696/0.0008696, allocations: 102.1 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.0009539/0.0009541, allocations: 177.1 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.502/1.502, allocations: 223.2 MB / 240.6 MB, free: 5.367 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.675/2.675, allocations: 390.5 MB / 0.6662 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9008/0.9012, allocations: 142.3 MB / 0.9544 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003709/0.905, allocations: 3.28 MB / 0.9576 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.9071, allocations: 1.197 MB / 0.9588 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003539/0.9074, allocations: 15.97 kB / 0.9588 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.9077, allocations: 94.83 kB / 0.9589 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.9079, allocations: 80.08 kB / 0.959 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.9084, allocations: 194.1 kB / 0.9591 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007476/0.9092, allocations: 0.873 MB / 0.96 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005308/0.9097, allocations: 366.8 kB / 0.9603 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.91, allocations: 217.2 kB / 0.9605 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.9102, allocations: 270.9 kB / 0.9608 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.073e-05/0.9103, allocations: 23.75 kB / 0.9608 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.513e-05/0.9104, allocations: 23.19 kB / 0.9609 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.9105, allocations: 112.1 kB / 0.961 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.9106, allocations: 158.5 kB / 0.9611 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006985/0.9113, allocations: 0.9711 MB / 0.9621 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9113, allocations: 0.9688 kB / 0.9621 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9113, allocations: 0 / 0.9621 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.9113, allocations: 4 kB / 0.9621 GB, free: 2.047 MB / 0.7169 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.001917/0.9132, allocations: 1.119 MB / 0.9632 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.9133, allocations: 9.125 kB / 0.9632 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.9135, allocations: 97.2 kB / 0.9633 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.9141, allocations: 0.5158 MB / 0.9638 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/0.9142, allocations: 57.16 kB / 0.9638 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.9143, allocations: 78.16 kB / 0.9639 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.916, allocations: 0.8418 MB / 0.9647 GB, free: 132 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.916, allocations: 3.938 kB / 0.9647 GB, free: 128 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.9161, allocations: 29.89 kB / 0.9647 GB, free: 104 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.9161, allocations: 16.66 kB / 0.9648 GB, free: 104 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.9179, allocations: 0.7601 MB / 0.9655 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.9215, allocations: 2.498 MB / 0.9679 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.9233, allocations: 0.7891 MB / 0.9687 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008508/0.9242, allocations: 394.2 kB / 0.9691 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.9243, allocations: 5.812 kB / 0.9691 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.9253, allocations: 414.3 kB / 0.9695 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 6.862e-06/0.9253, allocations: 7.984 kB / 0.9695 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.002431/0.9278, allocations: 0.9686 MB / 0.9704 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/0.9279, allocations: 135.9 kB / 0.9706 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008064/0.9287, allocations: 0.5619 MB / 0.9711 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.9287, allocations: 42.47 kB / 0.9712 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.9291, allocations: 365.7 kB / 0.9715 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.9292, allocations: 173.8 kB / 0.9717 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.9293, allocations: 11.34 kB / 0.9717 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.9295, allocations: 377 kB / 0.972 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007802/0.9303, allocations: 306.5 kB / 0.9723 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008788/0.9311, allocations: 452 kB / 0.9728 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008428/0.932, allocations: 391.7 kB / 0.9731 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.932, allocations: 1.031 kB / 0.9731 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001928/0.9339, allocations: 0.8765 MB / 0.974 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.9341, allocations: 212.1 kB / 0.9742 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.9342, allocations: 6.5 kB / 0.9742 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.9342, allocations: 6.188 kB / 0.9742 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.9349, allocations: 167.3 kB / 0.9744 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.9349, allocations: 12.44 kB / 0.9744 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/0.9355, allocations: 148.3 kB / 0.9745 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.9356, allocations: 19.81 kB / 0.9745 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.9356, allocations: 7.875 kB / 0.9746 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001487/0.9371, allocations: 0.6928 MB / 0.9752 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.9371, allocations: 2.375 kB / 0.9752 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.904e-06/0.9372, allocations: 4.281 kB / 0.9752 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.9377, allocations: 137.1 kB / 0.9754 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.9377, allocations: 8.25 kB / 0.9754 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.9382, allocations: 122.9 kB / 0.9755 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.9382, allocations: 18.84 kB / 0.9755 GB, free: 9.277 MB / 0.7325 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.000529/0.9388, allocations: 300.9 kB / 0.9758 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.9389, allocations: 68.55 kB / 0.9759 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.9406, allocations: 0.7304 MB / 0.9766 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.9407, allocations: 4.812 kB / 0.9766 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9407, allocations: 0 / 0.9766 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.9407, allocations: 5.547 kB / 0.9766 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.9416, allocations: 0.7086 MB / 0.9773 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.9416, allocations: 0 / 0.9773 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/0.9422, allocations: 141.4 kB / 0.9774 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.9422, allocations: 2.812 kB / 0.9774 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.9422, allocations: 14.94 kB / 0.9774 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.9422, allocations: 1.25 kB / 0.9774 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9423, allocations: 1.406 kB / 0.9774 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.9446, allocations: 1.094 MB / 0.9785 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.9448, allocations: 152.2 kB / 0.9786 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.9449, allocations: 19.98 kB / 0.9787 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.9453, allocations: 87.92 kB / 0.9787 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.9454, allocations: 52.36 kB / 0.9788 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.9455, allocations: 15.98 kB / 0.9788 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005104/0.946, allocations: 394.8 kB / 0.9792 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.61e-07/0.946, allocations: 0 / 0.9792 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007613/0.9468, allocations: 258.9 kB / 0.9794 GB, free: 5.91 MB / 0.7325 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.0001616/0.9469, allocations: 123 kB / 0.9796 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.9494, allocations: 1.245 MB / 0.9808 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9494, allocations: 0 / 0.9808 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007383/0.9501, allocations: 350.7 kB / 0.9811 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.9508, allocations: 118.3 kB / 0.9812 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.9531, allocations: 1.438 MB / 0.9826 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.9536, allocations: 0.9143 MB / 0.9835 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.9538, allocations: 51.42 kB / 0.9836 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.9538, allocations: 0 / 0.9836 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of Templates: time 0.01258/0.9664, allocations: 8.501 MB / 0.9919 GB, free: 9.09 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile make -j1 -f Buildings_9_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_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBoxCalcHelperMain.o OMCppBuildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBoxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBoxCalcHelperMain.o] Error 1