Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.507/1.507, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.766/1.766, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001421/0.001421, allocations: 64.47 kB / 0.6722 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2671, allocations: 114.6 MB / 0.784 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002447/0.2696, allocations: 0.6368 MB / 0.7847 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.271, allocations: 0.797 MB / 0.7854 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.167e-05/0.2711, allocations: 0 / 0.7854 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.2713, allocations: 3.938 kB / 0.7854 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.2714, allocations: 19.91 kB / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 8.426e-05/0.2715, allocations: 8 kB / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.2717, allocations: 55.91 kB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.2719, allocations: 15.97 kB / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.272, allocations: 27.92 kB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.2721, allocations: 27.86 kB / 0.7856 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.2722, allocations: 8 kB / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.2722, allocations: 4 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.2723, allocations: 31.89 kB / 0.7856 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.068e-05/0.2723, allocations: 23.86 kB / 0.7857 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.2725, allocations: 59.8 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2725, allocations: 7.984 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2725, allocations: 0 / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.2725, allocations: 0 / 0.7857 GB, free: 2.18 MB / 0.6544 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.000644/0.2731, allocations: 387.5 kB / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2732, allocations: 12.03 kB / 0.7861 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.2733, allocations: 4.844 kB / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2735, allocations: 188.2 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2735, allocations: 4.375 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.2735, allocations: 384 / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.2739, allocations: 131.8 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2739, allocations: 8.172 kB / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.2739, allocations: 7.938 kB / 0.7864 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.274, allocations: 4 kB / 0.7864 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.2743, allocations: 131.8 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.275, allocations: 432.9 kB / 0.787 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.2753, allocations: 89.08 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.2755, allocations: 69.7 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.2755, allocations: 0 / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.2755, allocations: 34.56 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.2756, allocations: 3.938 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000676/0.2762, allocations: 193.4 kB / 0.7873 GB, free: 328 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.2763, allocations: 81.05 kB / 0.7874 GB, free: 228 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.2764, allocations: 117.8 kB / 0.7875 GB, free: 100 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2764, allocations: 25.7 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4197/0.6962, allocations: 97.78 kB / 0.7877 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.6963, allocations: 6.031 kB / 0.7877 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.6963, allocations: 18.16 kB / 0.7877 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.6964, allocations: 320.6 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.6966, allocations: 52.44 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.6968, allocations: 68.2 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.6971, allocations: 104.8 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.6971, allocations: 2.875 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003958/0.6975, allocations: 140.5 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6975, allocations: 5.719 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6976, allocations: 1 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.6976, allocations: 4 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.6977, allocations: 18.7 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6977, allocations: 0 / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.6978, allocations: 17.75 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.6978, allocations: 2.938 kB / 0.7884 GB, free: 48.32 MB / 0.6544 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 7.273e-05/0.6979, allocations: 126.5 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.698, allocations: 5.969 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.698, allocations: 10.09 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.698, allocations: 3.938 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.698, allocations: 2.875 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.698, allocations: 0 / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.6982, allocations: 178.3 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6982, allocations: 2.844 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.6983, allocations: 21.88 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6983, allocations: 4.906 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.6984, allocations: 1.094 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6984, allocations: 3.938 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6984, allocations: 5.344 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.6987, allocations: 301.3 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.6988, allocations: 82.11 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.6988, allocations: 0 / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.6989, allocations: 25.89 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.699, allocations: 7.297 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.699, allocations: 3.344 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.6991, allocations: 96.14 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6991, allocations: 0 / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002589/0.6993, allocations: 16.27 kB / 0.7892 GB, free: 47.63 MB / 0.6544 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.0001385/0.6995, allocations: 99.78 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004525/0.6999, allocations: 112.4 kB / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7, allocations: 3.969 kB / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.7002, allocations: 62.5 kB / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.7006, allocations: 6.406 kB / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.701, allocations: 197.8 kB / 0.7897 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.7013, allocations: 0.6949 MB / 0.7904 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.7013, allocations: 10.84 kB / 0.7904 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of SimCode: time 7.22e-07/0.7013, allocations: 1.969 kB / 0.7904 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.002933/0.7043, allocations: 0.9672 MB / 0.7913 GB, free: 46.69 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile make -j1 -f Buildings_8_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 -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.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorInitialize.cpp:170:50: error: use of undeclared identifier 'reaRep_P_y_' SystemDefaultImplementation::setRealStartValue(reaRep_P_y_(3,1), (_ram1_P_offset_ + tmp4), false); ^ In file included from OMCppBuildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppBuildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.cpp:178:3: error: use of undeclared identifier 'reaRep_P_y_' reaRep_P_y_(3,1) = (_ram1_P_offset_ + tmp10); ^ 2 errors generated. make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1