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.001002/0.001002, allocations: 98.88 kB / 16.02 MB, free: 76 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.00137/0.001371, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.26/1.26, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.45/2.45, allocations: 443.2 MB / 0.7181 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 9.312 kB / 0.8801 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2694, allocations: 155.2 MB / 1.032 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.0007799/0.2702, allocations: 384.3 kB / 1.032 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.2711, allocations: 0.7923 MB / 1.033 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.2711, allocations: 4 kB / 1.033 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.097e-05/0.2712, allocations: 3.938 kB / 1.033 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.493e-05/0.2713, allocations: 7.984 kB / 1.033 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.734e-05/0.2714, allocations: 7.984 kB / 1.033 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.2715, allocations: 55.84 kB / 1.033 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2716, allocations: 16 kB / 1.033 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.592e-05/0.2717, allocations: 19.91 kB / 1.033 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.2717, allocations: 27.91 kB / 1.033 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2718, allocations: 0 / 1.033 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.2718, allocations: 4 kB / 1.033 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.2718, allocations: 19.92 kB / 1.033 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.2719, allocations: 49.56 kB / 1.033 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.163e-05/0.272, allocations: 52.17 kB / 1.033 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.272, allocations: 0 / 1.033 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.272, allocations: 0 / 1.033 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.272, allocations: 4 kB / 1.033 GB, free: 3.332 MB / 0.7794 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.0005475/0.2726, allocations: 399.1 kB / 1.033 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2726, allocations: 15.97 kB / 1.033 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.2727, allocations: 4.844 kB / 1.033 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.2728, allocations: 188.3 kB / 1.034 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.2728, allocations: 8.375 kB / 1.034 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2728, allocations: 384 / 1.034 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.2732, allocations: 143.8 kB / 1.034 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2732, allocations: 192 / 1.034 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.2732, allocations: 11.94 kB / 1.034 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2732, allocations: 0 / 1.034 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.2736, allocations: 151.8 kB / 1.034 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/0.2743, allocations: 440.8 kB / 1.034 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.2745, allocations: 105.1 kB / 1.034 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.2747, allocations: 74.08 kB / 1.035 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.2747, allocations: 0 / 1.035 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2748, allocations: 38.56 kB / 1.035 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2748, allocations: 0 / 1.035 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0006641/0.2755, allocations: 221.5 kB / 1.035 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.2755, allocations: 77.27 kB / 1.035 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.2756, allocations: 121.8 kB / 1.035 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.2756, allocations: 25.7 kB / 1.035 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.2757, allocations: 96.03 kB / 1.035 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2757, allocations: 7.906 kB / 1.035 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.2757, allocations: 14.09 kB / 1.035 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2759, allocations: 318.8 kB / 1.035 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.2761, allocations: 71.88 kB / 1.035 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.2763, allocations: 77.58 kB / 1.036 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.2766, allocations: 133.6 kB / 1.036 GB, free: 396 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2766, allocations: 0 / 1.036 GB, free: 396 kB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003888/0.277, allocations: 161.5 kB / 1.036 GB, free: 228 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.277, allocations: 4 kB / 1.036 GB, free: 224 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.277, allocations: 4 kB / 1.036 GB, free: 220 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2771, allocations: 3.984 kB / 1.036 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.2772, allocations: 24.05 kB / 1.036 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2772, allocations: 0 / 1.036 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.118e-05/0.2773, allocations: 27.81 kB / 1.036 GB, free: 164 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2773, allocations: 4 kB / 1.036 GB, free: 160 kB / 0.7794 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 7.742e-05/0.2774, allocations: 123.4 kB / 1.036 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.2774, allocations: 0 / 1.036 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.2775, allocations: 15.53 kB / 1.036 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2775, allocations: 0 / 1.036 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2775, allocations: 0 / 1.036 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2775, allocations: 11.92 kB / 1.036 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.2777, allocations: 181.6 kB / 1.036 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2777, allocations: 0 / 1.036 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.2779, allocations: 27.91 kB / 1.036 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2779, allocations: 0 / 1.036 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.2779, allocations: 0 / 1.036 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2779, allocations: 4 kB / 1.036 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2779, allocations: 8 kB / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.2784, allocations: 334.5 kB / 1.037 GB, free: 15.39 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.2784, allocations: 81.11 kB / 1.037 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.2784, allocations: 0 / 1.037 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2786, allocations: 28 kB / 1.037 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.2786, allocations: 7.922 kB / 1.037 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2786, allocations: 4 kB / 1.037 GB, free: 15.25 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.153e-05/0.2787, allocations: 95.2 kB / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2787, allocations: 0 / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000251/0.279, allocations: 12 kB / 1.037 GB, free: 15.15 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.0001112/0.2791, allocations: 99.25 kB / 1.037 GB, free: 15.04 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.2795, allocations: 132.2 kB / 1.037 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.2795, allocations: 0 / 1.037 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.2797, allocations: 83.78 kB / 1.037 GB, free: 14.83 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.28, allocations: 13.25 kB / 1.037 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.2804, allocations: 215.1 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.2807, allocations: 0.6926 MB / 1.038 GB, free: 13.85 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.2808, allocations: 7.438 kB / 1.038 GB, free: 13.84 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.2808, allocations: 4 kB / 1.038 GB, free: 13.84 MB / 0.795 GB Notification: Performance of Templates: time 0.002119/0.2829, allocations: 0.9414 MB / 1.039 GB, free: 12.9 MB / 0.795 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