Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u.1.|reaRep.y.1|1.|reaRep.y.2|2.|reaRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u.1.|reaRep.y.1|1.|reaRep.y.2|2.|reaRep.y.3|2.",fileNamePrefix="Buildings_10_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.001632/0.001632, allocations: 104.9 kB / 16.4 MB, free: 6.379 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.001907/0.001907, allocations: 184.3 kB / 17.33 MB, free: 5.852 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.479/2.479, allocations: 437 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002021/1.03, allocations: 0.6487 MB / 1.168 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001033/1.031, allocations: 0.7923 MB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/1.031, allocations: 0 / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/1.031, allocations: 3.938 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/1.032, allocations: 15.92 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.866e-05/1.032, allocations: 7.984 kB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/1.032, allocations: 55.91 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/1.032, allocations: 19.97 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.083e-05/1.032, allocations: 27.92 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.622e-05/1.032, allocations: 27.86 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/1.032, allocations: 4 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/1.032, allocations: 4 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/1.032, allocations: 31.89 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/1.032, allocations: 23.86 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/1.032, allocations: 67.78 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/1.032, allocations: 4 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/1.032, allocations: 0 / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.21e-06/1.032, allocations: 0 / 1.169 GB, free: 2.082 MB / 0.8887 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.0006265/1.033, allocations: 396.9 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.033, allocations: 8.922 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/1.033, allocations: 8.844 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/1.033, allocations: 184.2 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/1.033, allocations: 8.375 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/1.033, allocations: 8.375 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/1.034, allocations: 126.3 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.034, allocations: 4.188 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/1.034, allocations: 3.938 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.034, allocations: 3.984 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/1.034, allocations: 135.8 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/1.035, allocations: 432.9 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/1.035, allocations: 89.14 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/1.035, allocations: 65.7 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/1.035, allocations: 0 / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/1.035, allocations: 34.5 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.035, allocations: 4 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000606/1.036, allocations: 193.3 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.036, allocations: 77.11 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/1.036, allocations: 122.1 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/1.036, allocations: 25.7 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/1.036, allocations: 99.97 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/1.036, allocations: 11.91 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/1.036, allocations: 9.719 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.036, allocations: 322.8 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/1.036, allocations: 51.94 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/1.037, allocations: 69.64 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/1.037, allocations: 105.5 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.037, allocations: 8.375 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003397/1.037, allocations: 133.6 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/1.037, allocations: 11.98 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.037, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/1.037, allocations: 3.938 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.038, allocations: 23.98 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.038, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/1.038, allocations: 19.91 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/1.038, allocations: 0 / 1.172 GB, free: 15.08 MB / 0.9044 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.223e-05/1.038, allocations: 125.8 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/1.038, allocations: 3.906 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/1.038, allocations: 11.53 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.038, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.038, allocations: 7.984 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.038, allocations: 3.938 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/1.038, allocations: 177.6 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.038, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.428e-05/1.038, allocations: 15.98 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.038, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/1.038, allocations: 4 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/1.038, allocations: 3.984 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.038, allocations: 0 / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/1.039, allocations: 314.6 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/1.039, allocations: 81.02 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/1.039, allocations: 4 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/1.039, allocations: 20 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/1.039, allocations: 11.92 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/1.039, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.116e-05/1.039, allocations: 99.27 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/1.039, allocations: 0 / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002595/1.039, allocations: 8 kB / 1.173 GB, free: 14.11 MB / 0.9044 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.0001136/1.039, allocations: 99.19 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003877/1.04, allocations: 119.8 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.04, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/1.04, allocations: 59.91 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/1.04, allocations: 12.22 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/1.041, allocations: 204.1 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/1.041, allocations: 0.7001 MB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/1.041, allocations: 7.438 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/1.041, allocations: 0 / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of Templates: time 0.002314/1.043, allocations: 0.9612 MB / 1.175 GB, free: 11.89 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile make -j1 -f Buildings_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppBuildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppBuildings_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1