Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8848/0.8848, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.764/1.764, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u.1.|reaRep.y.1|1.|reaRep.y.2|2.|reaRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u.1.|reaRep.y.1|1.|reaRep.y.2|2.|reaRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.212e-05, allocations: 5.938 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001978/0.00201, allocations: 0.6429 MB / 0.9828 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003108, allocations: 0.8121 MB / 0.9836 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.003165, allocations: 0 / 0.9836 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.003276, allocations: 15.86 kB / 0.9836 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.003381, allocations: 7.984 kB / 0.9837 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.891e-05/0.00345, allocations: 15.92 kB / 0.9837 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.003578, allocations: 51.84 kB / 0.9837 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.003706, allocations: 15.98 kB / 0.9837 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.344e-05/0.00379, allocations: 35.91 kB / 0.9838 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.07e-05/0.003881, allocations: 35.89 kB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.003909, allocations: 4 kB / 0.9838 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.00392, allocations: 4 kB / 0.9838 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.003972, allocations: 15.98 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.004012, allocations: 23.92 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.004141, allocations: 71.7 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.004144, allocations: 0 / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.262e-06/0.004145, allocations: 0 / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.004149, allocations: 0 / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005695/0.004719, allocations: 318.2 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.004758, allocations: 8.031 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.004797, allocations: 8.938 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.004964, allocations: 133.6 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.004978, allocations: 8.375 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.004994, allocations: 8.359 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.005305, allocations: 127.9 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.005314, allocations: 4.188 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.005328, allocations: 4.359 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.005333, allocations: 384 / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.005644, allocations: 131.7 kB / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.006174, allocations: 364.7 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.006356, allocations: 89.08 kB / 0.9851 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.006503, allocations: 69.7 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.006517, allocations: 3.938 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.006542, allocations: 30.56 kB / 0.9852 GB, free: 14.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.006544, allocations: 0 / 0.9852 GB, free: 14.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0005419/0.007086, allocations: 197.3 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.007128, allocations: 77.11 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.007225, allocations: 125.8 kB / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.007239, allocations: 29.7 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.007294, allocations: 96.02 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.007313, allocations: 7.953 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.007358, allocations: 17.97 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.007453, allocations: 314.8 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.007592, allocations: 51.92 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.007736, allocations: 69.64 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.007996, allocations: 113.5 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007998, allocations: 0 / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003105/0.008309, allocations: 133.6 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.008324, allocations: 4 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.008329, allocations: 0 / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.008344, allocations: 8 kB / 0.9864 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.008451, allocations: 19.97 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.008457, allocations: 0 / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.008524, allocations: 23.92 kB / 0.9864 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.00853, allocations: 0 / 0.9864 GB, free: 13.57 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.297e-05/0.008613, allocations: 125.8 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.008654, allocations: 4 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.008678, allocations: 7.469 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.008682, allocations: 4 kB / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.008686, allocations: 4 kB / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.008689, allocations: 0 / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.008895, allocations: 125.1 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008896, allocations: 0 / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.008966, allocations: 19.97 kB / 0.9867 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.008969, allocations: 0 / 0.9867 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.008979, allocations: 8 kB / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008981, allocations: 0 / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.008984, allocations: 4 kB / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.009349, allocations: 314.5 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.00936, allocations: 11.94 kB / 0.987 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.009374, allocations: 0 / 0.987 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.009503, allocations: 15.97 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.009547, allocations: 7.984 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.009553, allocations: 4 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.009608, allocations: 95.58 kB / 0.9871 GB, free: 12.78 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.009608, allocations: 4.031 kB / 0.9871 GB, free: 12.78 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003364/0.009944, allocations: 15.89 kB / 0.9871 GB, free: 12.76 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001191/0.01006, allocations: 99.25 kB / 0.9872 GB, free: 12.65 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.01039, allocations: 111.8 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01039, allocations: 4.125 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.01054, allocations: 63.92 kB / 0.9874 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.01094, allocations: 11.94 kB / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.01135, allocations: 195.2 kB / 0.9876 GB, free: 12.24 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.249e-05/0.01143, allocations: 79.56 kB / 0.9877 GB, free: 12.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.01147, allocations: 16.5 kB / 0.9877 GB, free: 12.12 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/0.01147, allocations: 4.125 kB / 0.9877 GB, free: 12.12 MB / 0.948 GB Notification: Performance of Templates: time 0.00229/0.01376, allocations: 0.9786 MB / 0.9886 GB, free: 11.15 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorInitialize.cpp:170:50: error: use of undeclared identifier 'reaRep_P_y_' 170 | SystemDefaultImplementation::setRealStartValue(reaRep_P_y_(3,1), (_ram1_P_offset_ + tmp4), false); | ^ In file included from OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.cpp:178:3: error: use of undeclared identifier 'reaRep_P_y_' 178 | reaRep_P_y_(3,1) = (_ram1_P_offset_ + tmp10); | ^ 2 errors generated. make: *** [: OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.780886637978256] Failed to read output from testmodel.py, exit status != 0: 0.021352377720177174 0.035132668 0.028263034000000003 Calling exit ...