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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007363/0.007367, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.00131/0.00131, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.46/1.46, allocations: 222.9 MB / 240.5 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001941, allocations: 75.88 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6193/0.6212, allocations: 140.3 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001694/0.623, allocations: 0.7151 MB / 0.9503 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006801/0.6237, allocations: 0.7894 MB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.6237, allocations: 0 / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.515e-05/0.6238, allocations: 9.062 kB / 0.9511 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.365e-05/0.6239, allocations: 6.422 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.834e-05/0.624, allocations: 9.203 kB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.6241, allocations: 53.72 kB / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.6242, allocations: 17.61 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.6243, allocations: 21.73 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.6244, allocations: 32.16 kB / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.6244, allocations: 2.719 kB / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.6244, allocations: 2.375 kB / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.6244, allocations: 16.55 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.6245, allocations: 29.62 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.819e-05/0.6246, allocations: 48.92 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6246, allocations: 5.188 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.72e-07/0.6246, allocations: 0 / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.6246, allocations: 0 / 0.9513 GB, free: 7.805 MB / 0.7169 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.00047/0.6251, allocations: 387.6 kB / 0.9517 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.6251, allocations: 8.875 kB / 0.9517 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.6251, allocations: 8.938 kB / 0.9517 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.6253, allocations: 202.1 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.6253, allocations: 7.266 kB / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.6253, allocations: 7.469 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.6256, allocations: 126.4 kB / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.6256, allocations: 4.125 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.6256, allocations: 5.312 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6256, allocations: 1.375 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.626, allocations: 127.2 kB / 0.9522 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.6265, allocations: 433.4 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.6267, allocations: 91.55 kB / 0.9527 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.6269, allocations: 66.75 kB / 0.9527 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.6269, allocations: 3.984 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.6269, allocations: 32.19 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.6269, allocations: 0 / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005918/0.6275, allocations: 188.4 kB / 0.9529 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.6275, allocations: 78.27 kB / 0.953 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.6e-05/0.6276, allocations: 121.7 kB / 0.9531 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.6276, allocations: 25.7 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.6277, allocations: 99.88 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.6277, allocations: 9.516 kB / 0.9533 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.6277, allocations: 16.12 kB / 0.9533 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.6278, allocations: 325.4 kB / 0.9536 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.6279, allocations: 51.92 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.6281, allocations: 68.17 kB / 0.9537 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.6284, allocations: 108.9 kB / 0.9538 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6284, allocations: 0 / 0.9538 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003519/0.6288, allocations: 145.7 kB / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6288, allocations: 11.12 kB / 0.9539 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6288, allocations: 1.406 kB / 0.9539 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.6288, allocations: 0 / 0.9539 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.6289, allocations: 19.31 kB / 0.954 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.629, allocations: 1.219 kB / 0.954 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.629, allocations: 21.12 kB / 0.954 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.6291, allocations: 0 / 0.954 GB, free: 5.398 MB / 0.7169 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 6.234e-05/0.6291, allocations: 126.6 kB / 0.9541 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.6292, allocations: 2.719 kB / 0.9541 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.6292, allocations: 6.094 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.6292, allocations: 0 / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6292, allocations: 1.312 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6292, allocations: 3.938 kB / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.6294, allocations: 181.5 kB / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6294, allocations: 1.5 kB / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.6295, allocations: 23 kB / 0.9543 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6295, allocations: 4 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.6295, allocations: 1.188 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6295, allocations: 1.25 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6296, allocations: 3.938 kB / 0.9543 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.6299, allocations: 311.1 kB / 0.9546 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.63, allocations: 82.53 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.63, allocations: 1.375 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.6301, allocations: 12.27 kB / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.6302, allocations: 15.61 kB / 0.9547 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.6302, allocations: 1.5 kB / 0.9547 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.6302, allocations: 93.05 kB / 0.9548 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6302, allocations: 1.531 kB / 0.9548 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002637/0.6305, allocations: 16.09 kB / 0.9548 GB, free: 4.566 MB / 0.7169 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 9.417e-05/0.6306, allocations: 112.8 kB / 0.9549 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.631, allocations: 108.1 kB / 0.955 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.631, allocations: 0 / 0.955 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.6312, allocations: 67.39 kB / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.6315, allocations: 14.95 kB / 0.9551 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.6318, allocations: 212 kB / 0.9553 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.632, allocations: 0.6962 MB / 0.956 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.632, allocations: 8.438 kB / 0.956 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.632, allocations: 1.062 kB / 0.956 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of Templates: time 0.002065/0.6341, allocations: 0.9518 MB / 0.9569 GB, free: 2.992 MB / 0.7169 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