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.001598/0.001598, allocations: 106.6 kB / 16.36 MB, free: 6.297 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.001561/0.001562, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.326/1.326, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001411/0.001411, allocations: 63.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2383, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001904/0.2403, allocations: 0.6576 MB / 0.7854 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.2412, allocations: 0.797 MB / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.2413, allocations: 0 / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.41e-05/0.2414, allocations: 7.938 kB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.705e-05/0.2415, allocations: 3.984 kB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.521e-05/0.2415, allocations: 7.984 kB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2417, allocations: 55.84 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.2418, allocations: 23.97 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.2419, allocations: 31.86 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.242, allocations: 27.91 kB / 0.7864 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.242, allocations: 4 kB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.242, allocations: 4 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.2421, allocations: 23.91 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.2421, allocations: 31.86 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.2422, allocations: 67.72 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2422, allocations: 4 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2422, allocations: 0 / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2422, allocations: 0 / 0.7865 GB, free: 1.418 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.0005825/0.2428, allocations: 391.3 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2429, allocations: 11.97 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.2429, allocations: 8.844 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.2431, allocations: 180.3 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2431, allocations: 8.375 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.2431, allocations: 4.375 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.2435, allocations: 131.8 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.2435, allocations: 192 / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.2435, allocations: 3.938 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2435, allocations: 0 / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.2439, allocations: 131.8 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3922/0.6361, allocations: 429.9 kB / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.6365, allocations: 89.53 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.6366, allocations: 68.48 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.6367, allocations: 2.719 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.6367, allocations: 37.72 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.845e-06/0.6367, allocations: 0 / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0006695/0.6374, allocations: 189.7 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.6374, allocations: 79.92 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.6375, allocations: 121 kB / 0.7883 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.6375, allocations: 25.7 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.6376, allocations: 99 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.6376, allocations: 11.38 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.6377, allocations: 14 kB / 0.7884 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.6377, allocations: 317.2 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.6379, allocations: 54.16 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.6381, allocations: 67.12 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.6384, allocations: 109.9 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6384, allocations: 0 / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003484/0.6387, allocations: 139.3 kB / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6388, allocations: 5.25 kB / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.6388, allocations: 0.5938 kB / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6388, allocations: 1.844 kB / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.6389, allocations: 24.92 kB / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.639, allocations: 0 / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.438e-05/0.639, allocations: 22.42 kB / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.6391, allocations: 0 / 0.7891 GB, free: 47.9 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 6.088e-05/0.6391, allocations: 120.2 kB / 0.7893 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.6392, allocations: 8.156 kB / 0.7893 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.6392, allocations: 5.875 kB / 0.7893 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6392, allocations: 2.781 kB / 0.7893 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6392, allocations: 5.25 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6392, allocations: 2 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.6394, allocations: 188.9 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.6394, allocations: 2.75 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.255e-05/0.6395, allocations: 18.12 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6395, allocations: 1.5 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.6396, allocations: 2.562 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6396, allocations: 4.625 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6396, allocations: 3.938 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.64, allocations: 305.2 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.64, allocations: 84.3 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.64, allocations: 3.938 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.6402, allocations: 23.2 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.6402, allocations: 15.09 kB / 0.7899 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.6402, allocations: 0 / 0.7899 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.6403, allocations: 95.58 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6403, allocations: 0.5625 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002588/0.6405, allocations: 8.656 kB / 0.79 GB, free: 47.21 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 9.856e-05/0.6406, allocations: 100.6 kB / 0.7901 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.6411, allocations: 118.5 kB / 0.7902 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6411, allocations: 0 / 0.7902 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.6412, allocations: 62.53 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.6416, allocations: 8.25 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.642, allocations: 188.7 kB / 0.7905 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.6421, allocations: 0.6971 MB / 0.7911 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.6422, allocations: 7.438 kB / 0.7912 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6422, allocations: 2.625 kB / 0.7912 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of Templates: time 0.002182/0.6444, allocations: 0.9592 MB / 0.7921 GB, free: 46.26 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