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.1-maint.10.0.x/package.mo", uses=false) 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=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.001568/0.001568, allocations: 109.1 kB / 15.99 MB, free: 6.336 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.001607/0.001607, allocations: 199.2 kB / 16.91 MB, free: 6.176 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.447/1.447, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437.1 MB / 0.7107 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 68.39 kB / 0.8694 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3011, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001924/0.3031, allocations: 0.717 MB / 1.018 GB, free: 10.28 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009225/0.304, allocations: 0.8001 MB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.3041, allocations: 0 / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.193e-05/0.3042, allocations: 0 / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.3043, allocations: 15.92 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.864e-05/0.3043, allocations: 0 / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.3045, allocations: 59.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3046, allocations: 23.92 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.3047, allocations: 23.92 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.556e-05/0.3047, allocations: 31.84 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3048, allocations: 4 kB / 1.019 GB, free: 9.312 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.3048, allocations: 4 kB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.3048, allocations: 25.5 kB / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.3049, allocations: 23.81 kB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.641e-05/0.305, allocations: 59.89 kB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.305, allocations: 4 kB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.305, allocations: 0 / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.305, allocations: 0 / 1.019 GB, free: 9.199 MB / 0.795 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.0006039/0.3056, allocations: 385.8 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3057, allocations: 12.92 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3057, allocations: 8.844 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.3059, allocations: 184.2 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3059, allocations: 8.375 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.3059, allocations: 8.312 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.3063, allocations: 131.8 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3063, allocations: 192 / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3063, allocations: 11.94 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3063, allocations: 0 / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.3067, allocations: 131.8 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.3074, allocations: 428.9 kB / 1.02 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.3076, allocations: 85.09 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.3078, allocations: 69.69 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3078, allocations: 4 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3079, allocations: 38.5 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3079, allocations: 0 / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0006338/0.3085, allocations: 193.6 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.3086, allocations: 81.05 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3087, allocations: 121.8 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3087, allocations: 25.7 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.3088, allocations: 99.98 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.3088, allocations: 4 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.3089, allocations: 13.7 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.309, allocations: 322.8 kB / 1.021 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.3092, allocations: 55.95 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.3094, allocations: 57.66 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.3097, allocations: 117.6 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3097, allocations: 0 / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003829/0.3101, allocations: 133.5 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3101, allocations: 8 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3101, allocations: 4.062 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3101, allocations: 0 / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3103, allocations: 19.97 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3103, allocations: 0 / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-05/0.3104, allocations: 27.86 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.3104, allocations: 4 kB / 1.022 GB, free: 6.199 MB / 0.795 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.0001043/0.3105, allocations: 121.8 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.3106, allocations: 384 / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.3106, allocations: 15.52 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3106, allocations: 0 / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3106, allocations: 0 / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3106, allocations: 7.875 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.3109, allocations: 185.5 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3109, allocations: 0 / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.311, allocations: 19.97 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.311, allocations: 0 / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.311, allocations: 4 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.311, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.311, allocations: 4 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.3115, allocations: 306.6 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.3116, allocations: 84.95 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.3116, allocations: 8.031 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.3118, allocations: 19.91 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.3118, allocations: 15.92 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3118, allocations: 0 / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.337e-05/0.3119, allocations: 95.27 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3119, allocations: 0 / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002622/0.3122, allocations: 8 kB / 1.023 GB, free: 5.227 MB / 0.795 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.0001282/0.3123, allocations: 103.8 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.3127, allocations: 115.8 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3127, allocations: 0 / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.3129, allocations: 60.11 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.3133, allocations: 12.06 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.3137, allocations: 204.1 kB / 1.023 GB, free: 4.695 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.314, allocations: 0.7041 MB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.3141, allocations: 11.44 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of SimCode: time 3.586e-06/0.3141, allocations: 0 / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of Templates: time 0.002516/0.3166, allocations: 0.9646 MB / 1.025 GB, free: 2.996 MB / 0.795 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