Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002396/0.002396, allocations: 217.1 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.823/2.823, allocations: 476 MB / 0.7707 GB, free: 4.695 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.66 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3168, allocations: 170 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001864/0.3187, allocations: 0.6512 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3197, allocations: 0.8161 MB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.3198, allocations: 7.875 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.145e-05/0.3198, allocations: 3.984 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.943e-05/0.3199, allocations: 15.92 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.699e-05/0.32, allocations: 7.984 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.3201, allocations: 59.78 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3202, allocations: 15.98 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.827e-05/0.3203, allocations: 23.92 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3204, allocations: 31.91 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.3204, allocations: 4 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.3204, allocations: 4 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.3205, allocations: 31.89 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.3205, allocations: 15.94 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.3207, allocations: 67.72 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3207, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3207, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.3207, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 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.0006233/0.3213, allocations: 323.9 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3213, allocations: 12.03 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.3214, allocations: 4.891 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.3215, allocations: 126.5 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3215, allocations: 4.375 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.3216, allocations: 8.375 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.3219, allocations: 135.8 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3219, allocations: 4.188 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3219, allocations: 3.938 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3219, allocations: 4 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.3223, allocations: 123.8 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/0.3229, allocations: 376.5 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.3232, allocations: 89.08 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3234, allocations: 69.7 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.3234, allocations: 0 / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3234, allocations: 34.5 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3234, allocations: 0 / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0006549/0.3241, allocations: 189.4 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.3241, allocations: 85.09 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3242, allocations: 113.8 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3243, allocations: 29.7 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.3243, allocations: 96.08 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.3243, allocations: 3.953 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.3244, allocations: 21.91 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3245, allocations: 322.8 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.3247, allocations: 47.94 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.3249, allocations: 69.64 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.3252, allocations: 105.7 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3252, allocations: 3.938 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003936/0.3256, allocations: 141.5 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3257, allocations: 4 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3257, allocations: 0 / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3257, allocations: 8.062 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3258, allocations: 15.97 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3258, allocations: 4 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.171e-05/0.3259, allocations: 19.91 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3259, allocations: 0 / 1.288 GB, free: 7.359 MB / 0.9825 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.0001022/0.326, allocations: 125.8 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.3261, allocations: 11.94 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.3261, allocations: 7.469 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3261, allocations: 8 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3261, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3261, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.3263, allocations: 121.2 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3263, allocations: 3.938 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.3264, allocations: 19.97 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.3264, allocations: 0 / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3264, allocations: 4.375 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3264, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3264, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.3269, allocations: 310.6 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.3269, allocations: 11.89 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3269, allocations: 3.984 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.3271, allocations: 15.98 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.3271, allocations: 7.984 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3271, allocations: 7.938 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.3272, allocations: 99.3 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3272, allocations: 0 / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000264/0.3275, allocations: 12 kB / 1.289 GB, free: 6.547 MB / 0.9825 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.0001189/0.3276, allocations: 95.19 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.328, allocations: 119.8 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.328, allocations: 4.125 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.3282, allocations: 63.86 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.3285, allocations: 11.92 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.3289, allocations: 180.2 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.227e-05/0.329, allocations: 83.31 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.3291, allocations: 11.56 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3291, allocations: 4 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of Templates: time 0.002509/0.3316, allocations: 0.9728 MB / 1.29 GB, free: 4.957 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 300] make -j1 -f Buildings_11_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 -DOMC_BUILD -DUSE_THREAD -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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppBuildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppBuildings_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppBuildings_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.368127712979913] Failed to read output from testmodel.py, exit status != 0: 0.8638571263290942 0.35465713699999996 0.030880879000000003 Calling exit ...