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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001319/0.001324, allocations: 102 kB / 16.41 MB, free: 6.488 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.001418/0.001418, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7641/0.7654, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.0018/0.7673, allocations: 0.6583 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008547/0.7681, allocations: 0.7923 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.7682, allocations: 0 / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.061e-05/0.7683, allocations: 4 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.033e-05/0.7684, allocations: 11.92 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.429e-05/0.7685, allocations: 7.984 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.7686, allocations: 55.84 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.7687, allocations: 15.98 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.7688, allocations: 31.91 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.7689, allocations: 27.92 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.7689, allocations: 7.938 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.769, allocations: 4 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.769, allocations: 23.97 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.7691, allocations: 31.84 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.7692, allocations: 59.8 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7692, allocations: 3.984 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7692, allocations: 3.938 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.7692, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 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.0005741/0.7698, allocations: 400.9 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.7698, allocations: 8.031 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.7699, allocations: 8.844 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.77, allocations: 184.2 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.77, allocations: 4.375 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.7701, allocations: 4.375 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.7704, allocations: 135.8 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7704, allocations: 192 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.7704, allocations: 3.938 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.7704, allocations: 0 / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.7708, allocations: 131.8 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.7714, allocations: 436.9 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.7717, allocations: 89.08 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.7719, allocations: 69.7 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.7719, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.7719, allocations: 30.56 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7719, allocations: 0 / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000653/0.7726, allocations: 197.4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.7726, allocations: 77.11 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.7727, allocations: 117.8 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.7727, allocations: 29.7 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.7728, allocations: 95.97 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.7728, allocations: 7.906 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.7729, allocations: 17.88 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.773, allocations: 322.8 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.7732, allocations: 55.88 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.7733, allocations: 65.58 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.7737, allocations: 105.7 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.7737, allocations: 384 / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000394/0.7741, allocations: 141.5 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7741, allocations: 8 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7741, allocations: 3.984 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7741, allocations: 3.938 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.7743, allocations: 15.98 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.7743, allocations: 0 / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.615e-05/0.7744, allocations: 19.91 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.7744, allocations: 4 kB / 1.213 GB, free: 8.895 MB / 0.9356 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.659e-05/0.7745, allocations: 125.9 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.7746, allocations: 3.906 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.7746, allocations: 11.53 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7746, allocations: 0 / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7746, allocations: 0 / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7746, allocations: 7.922 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.7748, allocations: 173.7 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.7748, allocations: 7.984 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.775, allocations: 19.92 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.775, allocations: 7.984 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.775, allocations: 0 / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.775, allocations: 0 / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.775, allocations: 0 / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.7754, allocations: 314.6 kB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.7755, allocations: 85.02 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.7755, allocations: 0 / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.7756, allocations: 15.97 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.7757, allocations: 7.938 kB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.7757, allocations: 4 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.7758, allocations: 103.2 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7758, allocations: 4.031 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002625/0.776, allocations: 12 kB / 1.214 GB, free: 7.906 MB / 0.9356 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.0001151/0.7762, allocations: 99.19 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004038/0.7766, allocations: 111.9 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7766, allocations: 4.125 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.7768, allocations: 67.78 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.7771, allocations: 12.28 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.7775, allocations: 195.9 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.7778, allocations: 0.7041 MB / 1.215 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.7778, allocations: 7.438 kB / 1.215 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.7778, allocations: 4 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of Templates: time 0.002391/0.7802, allocations: 0.9479 MB / 1.216 GB, free: 5.699 MB / 0.9356 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