Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009328/0.0009328, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 179.2 kB / 16.92 MB, free: 6.648 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.799/2.799, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 12.84 kB / 0.9034 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3307, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.0008028/0.3316, allocations: 383.2 kB / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.3325, allocations: 0.8001 MB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.3325, allocations: 0 / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.63e-05/0.3326, allocations: 4 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.3327, allocations: 7.938 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.601e-05/0.3328, allocations: 11.98 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.834e-05/0.3329, allocations: 51.89 kB / 1.061 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.333, allocations: 15.94 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.895e-05/0.3331, allocations: 27.86 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.3332, allocations: 27.84 kB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3332, allocations: 4 kB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.3332, allocations: 4 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.3333, allocations: 19.97 kB / 1.061 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.3334, allocations: 53.5 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.265e-05/0.3334, allocations: 43.91 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3334, allocations: 4 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3334, allocations: 0 / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.3335, allocations: 0 / 1.061 GB, free: 3.512 MB / 0.8106 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.0005797/0.334, allocations: 387.6 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3341, allocations: 15.97 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.3341, allocations: 8.844 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3343, allocations: 184.2 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3343, allocations: 8.375 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.3343, allocations: 384 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.3347, allocations: 147.9 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.3347, allocations: 192 / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3347, allocations: 7.938 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3348, allocations: 0 / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.3352, allocations: 147.8 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.3358, allocations: 456.8 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.3361, allocations: 97.14 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.3363, allocations: 77.64 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.3363, allocations: 4 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.3364, allocations: 30.56 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3364, allocations: 4 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0007221/0.3371, allocations: 221.5 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3372, allocations: 77.11 kB / 1.063 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3373, allocations: 121.8 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3373, allocations: 29.8 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.3373, allocations: 104 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3374, allocations: 11.91 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.3374, allocations: 9.719 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.3375, allocations: 318.8 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.3377, allocations: 67.94 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.3379, allocations: 73.64 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.3383, allocations: 129.6 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3383, allocations: 0 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004177/0.3387, allocations: 165.4 kB / 1.064 GB, free: 412 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3387, allocations: 8 kB / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3387, allocations: 0 / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3387, allocations: 0 / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3389, allocations: 23.97 kB / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3389, allocations: 0 / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.339, allocations: 35.94 kB / 1.064 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.339, allocations: 0 / 1.064 GB, free: 344 kB / 0.8106 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.341e-05/0.3391, allocations: 121.8 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.3392, allocations: 4 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.3392, allocations: 7.531 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3392, allocations: 0 / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3392, allocations: 4 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3392, allocations: 7.938 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.3395, allocations: 177.7 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3395, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3396, allocations: 23.97 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3396, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3396, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3396, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3396, allocations: 4 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004848/0.3401, allocations: 342.5 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.3402, allocations: 85.05 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.3402, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.3403, allocations: 23.97 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.3404, allocations: 12.34 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3404, allocations: 3.938 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.3405, allocations: 99.19 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3405, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002683/0.3408, allocations: 8 kB / 1.064 GB, free: 15.33 MB / 0.8262 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.0001233/0.3409, allocations: 95.25 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004463/0.3414, allocations: 135.8 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3414, allocations: 128 / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.3416, allocations: 79.91 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.3419, allocations: 4.938 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.3423, allocations: 223.2 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3426, allocations: 0.6926 MB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.3426, allocations: 7.438 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3426, allocations: 0 / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of Templates: time 0.002304/0.3449, allocations: 0.9581 MB / 1.067 GB, free: 13.08 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppBuildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1