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.001178/0.001178, allocations: 108.6 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.001165/0.001165, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.383/1.383, 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 11.0.1-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 64.14 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.897/0.8986, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001948/0.9006, allocations: 0.6519 MB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.9015, allocations: 0.7884 MB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.9016, allocations: 0 / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.9017, allocations: 3.938 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.9019, allocations: 15.92 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.233e-05/0.9019, allocations: 0 / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.9021, allocations: 59.89 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.9022, allocations: 19.98 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.9023, allocations: 35.78 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.9024, allocations: 31.91 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.9024, allocations: 7.938 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.9024, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.9025, allocations: 15.98 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.9026, allocations: 23.86 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.9027, allocations: 79.77 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9027, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9027, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.9027, allocations: 0 / 1.21 GB, free: 11.88 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.0006352/0.9034, allocations: 392.9 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.9034, allocations: 8.031 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.9035, allocations: 8.844 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.9036, allocations: 188.2 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.9037, allocations: 8.375 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.9037, allocations: 4.375 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.904, allocations: 123.9 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.904, allocations: 12.16 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.9041, allocations: 7.938 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.9041, allocations: 0 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.9045, allocations: 131.8 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.9051, allocations: 428.9 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.9053, allocations: 85.16 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.9055, allocations: 69.64 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.9055, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.9056, allocations: 38.56 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9056, allocations: 0 / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0006372/0.9062, allocations: 193.3 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.9063, allocations: 77.36 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.9064, allocations: 121.8 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.9064, allocations: 33.69 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.9065, allocations: 95.98 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.9065, allocations: 11.89 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.9065, allocations: 9.719 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9067, allocations: 326.8 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.9068, allocations: 55.92 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.907, allocations: 65.59 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.9074, allocations: 113.6 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9074, allocations: 0 / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003792/0.9078, allocations: 133.5 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9078, allocations: 8 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.9078, allocations: 0 / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.9078, allocations: 0 / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.908, allocations: 24.03 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.908, allocations: 0 / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.9081, allocations: 19.92 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.9081, allocations: 4 kB / 1.213 GB, free: 8.875 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.88e-05/0.9082, allocations: 121.8 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.9082, allocations: 3.906 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.9083, allocations: 11.52 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9083, allocations: 0 / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9083, allocations: 4 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.9083, allocations: 3.938 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.9085, allocations: 181.6 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9085, allocations: 0 / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.9086, allocations: 19.97 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.9087, allocations: 0 / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.9087, allocations: 4 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9087, allocations: 0 / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.9087, allocations: 4 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.9091, allocations: 310.6 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.9092, allocations: 81.02 kB / 1.213 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.9092, allocations: 4 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.9093, allocations: 20.38 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.9094, allocations: 15.92 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.9094, allocations: 0 / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.9095, allocations: 99.2 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9095, allocations: 0 / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002618/0.9097, allocations: 8 kB / 1.214 GB, free: 7.898 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.0001266/0.9099, allocations: 99.19 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004125/0.9103, allocations: 123.8 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9103, allocations: 0 / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.9105, allocations: 63.86 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.9108, allocations: 4.25 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.9113, allocations: 207.8 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.9115, allocations: 0.7002 MB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.9116, allocations: 11.42 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.9116, allocations: 0 / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of Templates: time 0.002416/0.914, allocations: 0.9561 MB / 1.216 GB, free: 5.68 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