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.001376/0.001376, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.001292/0.001292, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.558/2.558, allocations: 437.1 MB / 0.7111 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.8 kB / 0.8699 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3136, allocations: 151.6 MB / 1.018 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001948/0.3156, allocations: 0.6406 MB / 1.019 GB, free: 9.93 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.3166, allocations: 0.7962 MB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.3166, allocations: 0 / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.392e-05/0.3167, allocations: 11.92 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.751e-05/0.3168, allocations: 7.938 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.145e-05/0.3169, allocations: 7.984 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.317, allocations: 59.89 kB / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3171, allocations: 8 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.3172, allocations: 35.86 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.3173, allocations: 35.83 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3173, allocations: 4 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.3173, allocations: 4 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.3174, allocations: 19.98 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.3174, allocations: 31.86 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3176, allocations: 63.78 kB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3176, allocations: 0 / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3176, allocations: 0 / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3176, allocations: 0 / 1.02 GB, free: 8.836 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.000612/0.3182, allocations: 395.5 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3182, allocations: 12.86 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.3183, allocations: 8.844 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.3185, allocations: 192.1 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3185, allocations: 4.375 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3185, allocations: 4.375 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.3189, allocations: 135.9 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3189, allocations: 192 / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3189, allocations: 7.938 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3189, allocations: 0 / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.3193, allocations: 123.8 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006641/0.32, allocations: 436.9 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.3202, allocations: 93.14 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.3205, allocations: 57.72 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.3205, allocations: 0 / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.3205, allocations: 34.5 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3205, allocations: 4 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0006848/0.3212, allocations: 193.3 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.3213, allocations: 81.11 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3214, allocations: 121.8 kB / 1.021 GB, free: 6.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3214, allocations: 29.95 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.3215, allocations: 91.98 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.3215, allocations: 11.98 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.3216, allocations: 14.09 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3217, allocations: 318.8 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.3219, allocations: 51.92 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.3221, allocations: 69.64 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.3225, allocations: 109.5 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3225, allocations: 4 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003878/0.3229, allocations: 137.5 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3229, allocations: 4 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3229, allocations: 0 / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3229, allocations: 3.938 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.323, allocations: 23.91 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3231, allocations: 4.062 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.527e-05/0.3232, allocations: 19.91 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.3232, allocations: 4 kB / 1.022 GB, free: 5.828 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 9.369e-05/0.3233, allocations: 117.8 kB / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.3233, allocations: 7.969 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.3234, allocations: 11.53 kB / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3234, allocations: 0 / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3234, allocations: 0 / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3234, allocations: 11.94 kB / 1.022 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.3236, allocations: 181.5 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3236, allocations: 4 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3238, allocations: 15.97 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3238, allocations: 4 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3238, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3238, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3238, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.3243, allocations: 314.6 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.3243, allocations: 88.95 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3244, allocations: 0 / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.3245, allocations: 15.97 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.3246, allocations: 15.95 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.3246, allocations: 0 / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.417e-05/0.3247, allocations: 99.27 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3247, allocations: 0 / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002567/0.3249, allocations: 8 kB / 1.023 GB, free: 4.855 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.0001185/0.3251, allocations: 99.25 kB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004322/0.3255, allocations: 120.1 kB / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3255, allocations: 0 / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.3257, allocations: 59.92 kB / 1.023 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.3261, allocations: 15.92 kB / 1.023 GB, free: 4.555 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.3265, allocations: 192.3 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3268, allocations: 0.7002 MB / 1.024 GB, free: 3.605 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.3268, allocations: 7.438 kB / 1.024 GB, free: 3.598 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3269, allocations: 3.938 kB / 1.024 GB, free: 3.594 MB / 0.795 GB Notification: Performance of Templates: time 0.002609/0.3295, allocations: 0.9644 MB / 1.025 GB, free: 2.641 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++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_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