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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 109.4 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002386/0.002386, allocations: 192.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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 / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 437.1 MB / 0.7178 GB, free: 4.469 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2968, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.00189/0.2987, allocations: 0.6488 MB / 1.176 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2997, allocations: 0.8083 MB / 1.177 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.2998, allocations: 4 kB / 1.177 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.818e-05/0.2999, allocations: 3.938 kB / 1.177 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/0.3, allocations: 11.92 kB / 1.177 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.988e-05/0.3001, allocations: 4 kB / 1.177 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.3002, allocations: 59.88 kB / 1.177 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3003, allocations: 23.94 kB / 1.177 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.3004, allocations: 27.84 kB / 1.177 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.526e-05/0.3005, allocations: 31.91 kB / 1.177 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3005, allocations: 4 kB / 1.177 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.3005, allocations: 4 kB / 1.177 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.3006, allocations: 19.92 kB / 1.177 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.3006, allocations: 27.86 kB / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3007, allocations: 67.77 kB / 1.178 GB, free: 4.145 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3007, allocations: 0 / 1.178 GB, free: 4.145 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3007, allocations: 0 / 1.178 GB, free: 4.145 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3008, allocations: 4 kB / 1.178 GB, free: 4.141 MB / 0.92 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.0006268/0.3014, allocations: 395.1 kB / 1.178 GB, free: 3.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3014, allocations: 11.97 kB / 1.178 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.3015, allocations: 4.938 kB / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3017, allocations: 192.2 kB / 1.178 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-06/0.3017, allocations: 384 / 1.178 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3017, allocations: 4.375 kB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.3021, allocations: 135.9 kB / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3021, allocations: 192 / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3021, allocations: 7.938 kB / 1.178 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3021, allocations: 0 / 1.178 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.3025, allocations: 131.8 kB / 1.178 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.3032, allocations: 436.8 kB / 1.179 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3034, allocations: 89.16 kB / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.3037, allocations: 65.64 kB / 1.179 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.3037, allocations: 0 / 1.179 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.3037, allocations: 38.56 kB / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.3037, allocations: 0 / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0007236/0.3044, allocations: 193.4 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.3045, allocations: 81.11 kB / 1.179 GB, free: 2.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3046, allocations: 117.8 kB / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3047, allocations: 25.95 kB / 1.179 GB, free: 2.023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.3047, allocations: 100.1 kB / 1.179 GB, free: 1.922 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.3047, allocations: 3.953 kB / 1.179 GB, free: 1.918 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.3048, allocations: 17.7 kB / 1.18 GB, free: 1.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.305, allocations: 318.8 kB / 1.18 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.3052, allocations: 51.92 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.3054, allocations: 69.66 kB / 1.18 GB, free: 1.449 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.3057, allocations: 109.5 kB / 1.18 GB, free: 1.336 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3058, allocations: 384 / 1.18 GB, free: 1.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004196/0.3062, allocations: 137.6 kB / 1.18 GB, free: 1.195 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3062, allocations: 4 kB / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3062, allocations: 0 / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3062, allocations: 3.938 kB / 1.18 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.3064, allocations: 23.91 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3064, allocations: 0 / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.904e-05/0.3065, allocations: 31.94 kB / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3065, allocations: 0 / 1.18 GB, free: 1.133 MB / 0.92 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.0001107/0.3066, allocations: 125.8 kB / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.3067, allocations: 7.984 kB / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.3067, allocations: 7.516 kB / 1.18 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3067, allocations: 0 / 1.18 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3067, allocations: 0 / 1.18 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3067, allocations: 7.938 kB / 1.18 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.307, allocations: 189.6 kB / 1.181 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.307, allocations: 0 / 1.181 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3072, allocations: 19.97 kB / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3072, allocations: 0 / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3072, allocations: 0 / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3072, allocations: 0 / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3072, allocations: 0 / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.3078, allocations: 314.5 kB / 1.181 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.3078, allocations: 81.11 kB / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3078, allocations: 0 / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.308, allocations: 15.97 kB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.3081, allocations: 15.92 kB / 1.181 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3081, allocations: 8.031 kB / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.3081, allocations: 95.27 kB / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.3081, allocations: 0 / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002736/0.3084, allocations: 11.95 kB / 1.181 GB, free: 156 kB / 0.92 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.0001194/0.3086, allocations: 99.25 kB / 1.181 GB, free: 48 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.309, allocations: 119.8 kB / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.309, allocations: 0 / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.3092, allocations: 63.92 kB / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3096, allocations: 6.312 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.31, allocations: 196.1 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3104, allocations: 0.704 MB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.3104, allocations: 11.44 kB / 1.182 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of SimCode: time 2.054e-06/0.3104, allocations: 0 / 1.182 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of Templates: time 0.002571/0.313, allocations: 0.9632 MB / 1.183 GB, free: 13.94 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 300] 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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 [Calling os._exit(0), Time elapsed: 7.244134244974703] Failed to read output from testmodel.py, exit status != 0: 0.32072290894575417 0.333857826 0.030417173000000002 Calling exit ...