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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001465/0.001465, allocations: 108.6 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.001507/0.001507, allocations: 189.2 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.575/2.575, allocations: 469.8 MB / 0.7427 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 64.34 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.288, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001846/0.2899, allocations: 0.7131 MB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.2908, allocations: 0.7962 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.2908, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.883e-05/0.2909, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.221e-05/0.291, allocations: 7.938 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.396e-05/0.2911, allocations: 15.97 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2912, allocations: 55.86 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2913, allocations: 15.98 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.2914, allocations: 35.84 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.2915, allocations: 27.91 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.2915, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.2915, allocations: 4 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.2915, allocations: 19.98 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.2916, allocations: 27.8 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.804e-05/0.2917, allocations: 55.91 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2917, allocations: 0 / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2917, allocations: 0 / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.2917, allocations: 0 / 1.066 GB, free: 13.27 MB / 0.8419 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.0005783/0.2923, allocations: 387.5 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2923, allocations: 8.031 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.2923, allocations: 4.938 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.2925, allocations: 188.2 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2926, allocations: 12.31 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2926, allocations: 4.375 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.2929, allocations: 131.8 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2929, allocations: 4.172 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2929, allocations: 3.938 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2929, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.2933, allocations: 131.8 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.2939, allocations: 432.9 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.2942, allocations: 93.08 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.2943, allocations: 61.7 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2944, allocations: 4 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2944, allocations: 46.44 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2944, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0006143/0.295, allocations: 185.6 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.2951, allocations: 89.03 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.2952, allocations: 117.8 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2952, allocations: 25.7 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.2953, allocations: 99.97 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.2953, allocations: 7.906 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.2954, allocations: 13.72 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2955, allocations: 318.8 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.2957, allocations: 55.92 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.2958, allocations: 65.64 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.2962, allocations: 109.6 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2962, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003638/0.2965, allocations: 133.6 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2966, allocations: 4.062 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.2966, allocations: 4 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2966, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.2967, allocations: 20.34 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2967, allocations: 3.938 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.2968, allocations: 23.91 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2968, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 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.085e-05/0.2969, allocations: 128 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.297, allocations: 11.91 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.297, allocations: 7.531 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.297, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.297, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.297, allocations: 7.938 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.2973, allocations: 181.6 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2973, allocations: 0 / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.2974, allocations: 19.97 kB / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2974, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2974, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2974, allocations: 4 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2974, allocations: 3.938 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.2979, allocations: 310.6 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.2979, allocations: 96.97 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.298, allocations: 0 / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.2981, allocations: 11.98 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.2982, allocations: 11.92 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.2982, allocations: 0 / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.486e-05/0.2982, allocations: 99.27 kB / 1.069 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2983, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002505/0.2985, allocations: 8 kB / 1.069 GB, free: 9.297 MB / 0.8419 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.0001179/0.2986, allocations: 107.2 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.299, allocations: 111.8 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.299, allocations: 0 / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.2992, allocations: 64.11 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2996, allocations: 17.81 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.3, allocations: 204.1 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.3003, allocations: 0.7002 MB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.3003, allocations: 11.72 kB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3003, allocations: 3.938 kB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of Templates: time 0.002356/0.3027, allocations: 0.9593 MB / 1.072 GB, free: 7.07 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile make -j1 -f Buildings_11_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_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:179: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