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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007314/0.007314, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001967/0.001967, allocations: 192.8 kB / 16.79 MB, free: 5.809 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.47/1.47, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437 MB / 0.7106 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.89 kB / 0.8692 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.7008, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002024/0.7029, allocations: 0.7149 MB / 1.018 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000891/0.7038, allocations: 0.7924 MB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.7038, allocations: 3.938 kB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.704, allocations: 3.938 kB / 1.019 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.456e-05/0.7041, allocations: 7.969 kB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.263e-05/0.7041, allocations: 15.94 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.7042, allocations: 51.84 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.7044, allocations: 19.98 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.7045, allocations: 19.92 kB / 1.019 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/0.7045, allocations: 23.91 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.7046, allocations: 11.94 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.7046, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.7046, allocations: 19.98 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.109e-05/0.7047, allocations: 31.78 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.912e-05/0.7048, allocations: 47.91 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.7048, allocations: 8 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.11e-07/0.7048, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7048, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 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.000637/0.7055, allocations: 389.3 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.7055, allocations: 12.03 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.7055, allocations: 4.844 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.7057, allocations: 184.2 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.7058, allocations: 8.375 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.7058, allocations: 384 / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.7061, allocations: 131.8 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7062, allocations: 4.188 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.7062, allocations: 3.938 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.7062, allocations: 4 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.7066, allocations: 127.8 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.7073, allocations: 432.9 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.7075, allocations: 89.08 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.7077, allocations: 69.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.7078, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.7078, allocations: 34.5 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7078, allocations: 3.938 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0006711/0.7085, allocations: 197.3 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.7085, allocations: 77.11 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.7087, allocations: 121.8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.7087, allocations: 25.7 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.7087, allocations: 100.2 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.7088, allocations: 11.98 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.7088, allocations: 13.72 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.709, allocations: 322.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.7091, allocations: 51.94 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.7093, allocations: 65.64 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.7097, allocations: 101.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7097, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003913/0.7101, allocations: 145.5 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.7101, allocations: 9.859 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.7101, allocations: 4 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.7101, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.7103, allocations: 15.98 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7103, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.7104, allocations: 27.97 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.7104, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 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.867e-05/0.7105, allocations: 122.4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.7105, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.7106, allocations: 7.531 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7106, allocations: 7.938 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.7106, allocations: 3.984 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7106, allocations: 3.938 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.7108, allocations: 181.5 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7109, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.711, allocations: 15.98 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.711, allocations: 3.984 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.711, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.711, allocations: 4.375 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.711, allocations: 7.922 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.7115, allocations: 314.6 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.7115, allocations: 77.11 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.7115, allocations: 3.938 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.7117, allocations: 19.97 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.7118, allocations: 15.86 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.7118, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.7118, allocations: 95.3 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7118, allocations: 4 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002687/0.7121, allocations: 11.91 kB / 1.023 GB, free: 12.99 MB / 0.7794 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.0001275/0.7122, allocations: 99.25 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004068/0.7127, allocations: 107.9 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7127, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.7129, allocations: 71.84 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.7132, allocations: 8 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.7137, allocations: 214 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.7141, allocations: 0.6926 MB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.7141, allocations: 7.438 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of SimCode: time 7.31e-07/0.7141, allocations: 0 / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of Templates: time 0.002581/0.7167, allocations: 0.9576 MB / 1.025 GB, free: 10.77 MB / 0.7794 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++14 -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:179: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