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.00146/0.00146, allocations: 108.2 kB / 15.99 MB, free: 6.348 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.001713/0.001713, allocations: 191.7 kB / 16.91 MB, free: 6.184 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.439/2.439, allocations: 437 MB / 0.7107 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 68.31 kB / 0.8694 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3202, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001925/0.3222, allocations: 0.717 MB / 1.018 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009244/0.3231, allocations: 0.7962 MB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.3232, allocations: 4 kB / 1.019 GB, free: 9.512 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.287e-05/0.3233, allocations: 4 kB / 1.019 GB, free: 9.508 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.287e-05/0.3234, allocations: 7.922 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.587e-05/0.3234, allocations: 11.98 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.817e-05/0.3235, allocations: 51.84 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3237, allocations: 23.98 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.589e-05/0.3237, allocations: 23.92 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.3238, allocations: 31.84 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3238, allocations: 4 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.3238, allocations: 4 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.3239, allocations: 21.5 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.3239, allocations: 31.8 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.725e-05/0.324, allocations: 51.91 kB / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.324, allocations: 4 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.362e-06/0.324, allocations: 0 / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3241, allocations: 7.938 kB / 1.019 GB, free: 9.238 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.0006379/0.3247, allocations: 385.8 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3247, allocations: 12.92 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.3248, allocations: 4.844 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.325, allocations: 188.2 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.325, allocations: 4.375 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.325, allocations: 384 / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.3253, allocations: 139.8 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.3253, allocations: 192 / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3254, allocations: 3.938 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3254, allocations: 4 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.3257, allocations: 135.8 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.3263, allocations: 424.9 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.3266, allocations: 93.08 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.3268, allocations: 65.7 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.3268, allocations: 0 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.3268, allocations: 38.56 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3268, allocations: 3.938 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0006498/0.3275, allocations: 189.4 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.3276, allocations: 85.23 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.3277, allocations: 121.8 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.3277, allocations: 25.7 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.3277, allocations: 100.3 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.3278, allocations: 0 / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.3278, allocations: 13.72 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.328, allocations: 326.8 kB / 1.021 GB, free: 6.68 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.3281, allocations: 55.88 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3283, allocations: 69.64 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.3286, allocations: 105.7 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3286, allocations: 0 / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000363/0.329, allocations: 141.4 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.329, allocations: 7.984 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.329, allocations: 4 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3291, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3292, allocations: 20.05 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3292, allocations: 0 / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.146e-05/0.3293, allocations: 19.91 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.3293, allocations: 0 / 1.022 GB, free: 6.246 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 8.557e-05/0.3294, allocations: 125.8 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.3294, allocations: 4 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.3295, allocations: 7.531 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3295, allocations: 0 / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3295, allocations: 7.984 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3295, allocations: 3.938 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.3297, allocations: 185.5 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3297, allocations: 0 / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.421e-05/0.3298, allocations: 15.98 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3299, allocations: 0 / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3299, allocations: 0 / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3299, allocations: 4 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3299, allocations: 3.984 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.3303, allocations: 310.6 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.3304, allocations: 84.95 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3304, allocations: 7.938 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3305, allocations: 20 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.3306, allocations: 19.91 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3306, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.953e-05/0.3307, allocations: 95.27 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3307, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002568/0.3309, allocations: 8.281 kB / 1.023 GB, free: 5.266 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.0001177/0.331, allocations: 95.25 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003949/0.3314, allocations: 115.8 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3315, allocations: 7.938 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.3316, allocations: 63.91 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.332, allocations: 6.922 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.3324, allocations: 216.1 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.3327, allocations: 0.6924 MB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.3327, allocations: 7.438 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3327, allocations: 4 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of Templates: time 0.002355/0.3351, allocations: 0.9676 MB / 1.025 GB, free: 3.035 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