Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001343/0.001343, allocations: 104.8 kB / 15.99 MB, free: 5.883 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.0014/0.0014, allocations: 194.6 kB / 16.9 MB, free: 5.746 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.387/1.387, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.2 MB / 0.665 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 62.52 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2863, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002554/0.2889, allocations: 0.709 MB / 0.9505 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2903, allocations: 0.7982 MB / 0.9513 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.2904, allocations: 4 kB / 0.9513 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.2905, allocations: 8 kB / 0.9513 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.2907, allocations: 7.922 kB / 0.9513 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.258e-05/0.2907, allocations: 7.984 kB / 0.9513 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.2909, allocations: 47.92 kB / 0.9513 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.2911, allocations: 23.97 kB / 0.9514 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.399e-05/0.2912, allocations: 27.86 kB / 0.9514 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2913, allocations: 31.91 kB / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.2913, allocations: 4 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.2913, allocations: 4 kB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.2914, allocations: 23.91 kB / 0.9514 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.2914, allocations: 27.86 kB / 0.9515 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.957e-05/0.2915, allocations: 47.92 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2916, allocations: 0 / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2916, allocations: 0 / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2916, allocations: 0 / 0.9515 GB, free: 7.461 MB / 0.7325 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.0007453/0.2923, allocations: 395.5 kB / 0.9519 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2924, allocations: 8.031 kB / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.2924, allocations: 8.844 kB / 0.9519 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.2926, allocations: 196.2 kB / 0.9521 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2927, allocations: 8.25 kB / 0.9521 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.2927, allocations: 8.375 kB / 0.9521 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.2931, allocations: 131.9 kB / 0.9522 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2931, allocations: 192 / 0.9522 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.2931, allocations: 3.938 kB / 0.9522 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2931, allocations: 0 / 0.9522 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.2936, allocations: 127.8 kB / 0.9524 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007109/0.2943, allocations: 436.8 kB / 0.9528 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.2945, allocations: 93.14 kB / 0.9529 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.2947, allocations: 65.7 kB / 0.9529 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2947, allocations: 4 kB / 0.9529 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.2948, allocations: 34.5 kB / 0.953 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.2948, allocations: 4 kB / 0.953 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0006351/0.2954, allocations: 181.5 kB / 0.9531 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2955, allocations: 81.05 kB / 0.9532 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.2956, allocations: 122.1 kB / 0.9533 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.2956, allocations: 29.7 kB / 0.9534 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.2957, allocations: 99.97 kB / 0.9535 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.2957, allocations: 3.906 kB / 0.9535 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.2958, allocations: 13.72 kB / 0.9535 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.296, allocations: 318.8 kB / 0.9538 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.2962, allocations: 51.92 kB / 0.9538 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.2963, allocations: 73.64 kB / 0.9539 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.2967, allocations: 105.5 kB / 0.954 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2968, allocations: 8 kB / 0.954 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003625/0.2971, allocations: 137.5 kB / 0.9541 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2971, allocations: 4.375 kB / 0.9541 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2972, allocations: 0 / 0.9541 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2972, allocations: 4 kB / 0.9541 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.2973, allocations: 15.97 kB / 0.9542 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2973, allocations: 15.94 kB / 0.9542 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.91e-05/0.2974, allocations: 19.91 kB / 0.9542 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2975, allocations: 0 / 0.9542 GB, free: 4.445 MB / 0.7325 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.545e-05/0.2976, allocations: 125.3 kB / 0.9543 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.2976, allocations: 7.984 kB / 0.9543 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.2976, allocations: 7.531 kB / 0.9543 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2977, allocations: 0 / 0.9543 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2977, allocations: 4 kB / 0.9543 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2977, allocations: 7.938 kB / 0.9543 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.298, allocations: 177.6 kB / 0.9545 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.298, allocations: 0 / 0.9545 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.2981, allocations: 19.97 kB / 0.9545 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2981, allocations: 0 / 0.9545 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2981, allocations: 0 / 0.9545 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2981, allocations: 0 / 0.9545 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.2981, allocations: 8 kB / 0.9545 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.2986, allocations: 314.5 kB / 0.9548 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.2987, allocations: 85.03 kB / 0.9549 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2987, allocations: 0 / 0.9549 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2988, allocations: 11.98 kB / 0.9549 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.2989, allocations: 19.95 kB / 0.9549 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2989, allocations: 4 kB / 0.955 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000122/0.299, allocations: 91.27 kB / 0.955 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.299, allocations: 0 / 0.955 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002692/0.2993, allocations: 11.91 kB / 0.9551 GB, free: 3.473 MB / 0.7325 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.0001396/0.2995, allocations: 103.2 kB / 0.9551 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004383/0.2999, allocations: 115.8 kB / 0.9553 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2999, allocations: 0 / 0.9553 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.3001, allocations: 63.92 kB / 0.9553 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3005, allocations: 11.92 kB / 0.9553 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.301, allocations: 208.7 kB / 0.9555 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.3014, allocations: 0.7 MB / 0.9562 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.3015, allocations: 15.31 kB / 0.9562 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.3015, allocations: 0 / 0.9562 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of Templates: time 0.00264/0.3041, allocations: 0.9636 MB / 0.9572 GB, free: 1.238 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile make -j1 -f Buildings_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppBuildings_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppBuildings_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1