Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001482/0.001482, allocations: 102.2 kB / 16.27 MB, free: 6 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.001532/0.001532, allocations: 191 kB / 17.2 MB, free: 5.609 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.665/2.665, allocations: 482.4 MB / 0.7553 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 65.19 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.696/0.6979, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002328/0.7002, allocations: 0.6507 MB / 1.084 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009569/0.7012, allocations: 0.7925 MB / 1.084 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.7013, allocations: 0.625 kB / 1.084 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.7014, allocations: 1.875 kB / 1.084 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.616e-05/0.7016, allocations: 11.72 kB / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.648e-05/0.7016, allocations: 11.05 kB / 1.084 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.7018, allocations: 63.08 kB / 1.084 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.7019, allocations: 15.12 kB / 1.084 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.702, allocations: 31.5 kB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.143e-05/0.7021, allocations: 25.92 kB / 1.084 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.7021, allocations: 7.375 kB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.7021, allocations: 4.25 kB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.7022, allocations: 21.81 kB / 1.085 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.7023, allocations: 30.03 kB / 1.085 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.7024, allocations: 59.22 kB / 1.085 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7024, allocations: 0.7188 kB / 1.085 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7024, allocations: 0 / 1.085 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.7024, allocations: 0.875 kB / 1.085 GB, free: 0.5312 MB / 0.8262 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.0005937/0.703, allocations: 399.2 kB / 1.085 GB, free: 148 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7031, allocations: 9.562 kB / 1.085 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.7031, allocations: 12 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.7033, allocations: 184.1 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.7033, allocations: 6.031 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.7034, allocations: 3.781 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.7038, allocations: 136.9 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7038, allocations: 4.188 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.7038, allocations: 5.375 kB / 1.085 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7038, allocations: 1.219 kB / 1.085 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.7042, allocations: 124.1 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.7049, allocations: 435.6 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.7052, allocations: 90.52 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.7054, allocations: 72.02 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.7054, allocations: 0 / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.7054, allocations: 31.66 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7055, allocations: 0 / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0007196/0.7062, allocations: 195.9 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.7062, allocations: 78.39 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.7064, allocations: 118.8 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.7064, allocations: 26.3 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.7065, allocations: 98.59 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.7065, allocations: 9.766 kB / 1.087 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.7066, allocations: 17.64 kB / 1.087 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7067, allocations: 317.7 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.7069, allocations: 55.06 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.7071, allocations: 70.62 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.7075, allocations: 102.3 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7075, allocations: 3.938 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004046/0.7079, allocations: 145.2 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.7079, allocations: 8.609 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.7079, allocations: 1.156 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.708, allocations: 384 / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.7081, allocations: 19.08 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.7081, allocations: 1.688 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.657e-05/0.7082, allocations: 22.83 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.7082, allocations: 5.031 kB / 1.087 GB, free: 14.47 MB / 0.8419 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 0.0001057/0.7083, allocations: 122.2 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.7084, allocations: 7.359 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.7084, allocations: 9.5 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7084, allocations: 1.375 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7084, allocations: 0.6562 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7085, allocations: 5.094 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.7087, allocations: 181 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.7087, allocations: 6.094 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.7088, allocations: 16.81 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.7088, allocations: 1.438 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.7089, allocations: 1.75 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.7089, allocations: 8.547 kB / 1.088 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7089, allocations: 0 / 1.088 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.7094, allocations: 312.9 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.7094, allocations: 83.14 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.7095, allocations: 2.047 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.7096, allocations: 13.77 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.7097, allocations: 11.7 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.7097, allocations: 0.6562 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.454e-05/0.7098, allocations: 98.08 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7098, allocations: 0 / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002628/0.71, allocations: 12.88 kB / 1.088 GB, free: 13.71 MB / 0.8419 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.0001454/0.7102, allocations: 102.9 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.7106, allocations: 114 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.7106, allocations: 1.438 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.7108, allocations: 62.59 kB / 1.088 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.7112, allocations: 14.58 kB / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.7117, allocations: 203.2 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.712, allocations: 0.6983 MB / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.7121, allocations: 9.734 kB / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.7121, allocations: 0 / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.002999/0.7151, allocations: 0.9636 MB / 1.09 GB, free: 12.65 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppBuildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1