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.001136/0.001136, allocations: 108.4 kB / 16.41 MB, free: 6.457 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.001088/0.001088, allocations: 187 kB / 17.34 MB, free: 5.719 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: 222.9 MB / 241 MB, free: 15.09 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.307/2.307, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 67.89 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8229/0.8243, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.00163/0.826, allocations: 0.6546 MB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.8267, allocations: 0.7964 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.8268, allocations: 1.125 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.221e-05/0.8269, allocations: 6.141 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.675e-05/0.827, allocations: 3.297 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.65e-05/0.8271, allocations: 7.875 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.8272, allocations: 70.62 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.8273, allocations: 11.92 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.928e-05/0.8274, allocations: 27.78 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.8274, allocations: 29.28 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.8275, allocations: 3.219 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.8275, allocations: 8.281 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.8275, allocations: 26.45 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.8276, allocations: 24.53 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.8277, allocations: 72.69 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8277, allocations: 1.156 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8277, allocations: 0 / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.8277, allocations: 0.8438 kB / 1.09 GB, free: 4.359 MB / 0.8575 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.0005082/0.8283, allocations: 390.8 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.8283, allocations: 14.53 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.8283, allocations: 3.188 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.8285, allocations: 191.5 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.8285, allocations: 2.594 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.8285, allocations: 3.688 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.8289, allocations: 133.1 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.8289, allocations: 192 / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.8289, allocations: 16.72 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.8289, allocations: 0.875 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.8293, allocations: 129.1 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.8299, allocations: 426.4 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.8301, allocations: 95.03 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.8303, allocations: 61.59 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.8303, allocations: 4.609 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.8304, allocations: 33.44 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.854e-06/0.8304, allocations: 0 / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0006722/0.831, allocations: 195.1 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.8311, allocations: 82.53 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.8312, allocations: 119.6 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.8312, allocations: 25.7 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.8312, allocations: 102.5 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.8312, allocations: 5.672 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.8313, allocations: 12.94 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.8313, allocations: 326.9 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.8315, allocations: 50.53 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.8317, allocations: 62.69 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.8321, allocations: 110.5 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8321, allocations: 0 / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004/0.8325, allocations: 137 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.8325, allocations: 10.42 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8325, allocations: 0.75 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.8326, allocations: 0.6875 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.8327, allocations: 18.64 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.8327, allocations: 0.7188 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.8328, allocations: 19.41 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.8328, allocations: 6.266 kB / 1.093 GB, free: 2.32 MB / 0.8575 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.788e-05/0.8329, allocations: 129.8 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.8329, allocations: 6.094 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.833, allocations: 11.08 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.833, allocations: 0.7812 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.833, allocations: 0.75 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.833, allocations: 9.766 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.8332, allocations: 176.4 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8332, allocations: 0.8906 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.8333, allocations: 22.61 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.8333, allocations: 1.734 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.8333, allocations: 5.281 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.8333, allocations: 3.938 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8334, allocations: 1.922 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.8338, allocations: 310.2 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.8338, allocations: 83.7 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.8338, allocations: 1.5 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.834, allocations: 16.11 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.8341, allocations: 9.938 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.8341, allocations: 1.875 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.8341, allocations: 97.14 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8341, allocations: 1.125 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000283/0.8344, allocations: 8.359 kB / 1.094 GB, free: 1.555 MB / 0.8575 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.678e-05/0.8345, allocations: 107.5 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.835, allocations: 113.8 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.835, allocations: 0.7188 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.8352, allocations: 67.69 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.8355, allocations: 6.531 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.8359, allocations: 187.4 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.8361, allocations: 0.6979 MB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.8361, allocations: 10.12 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.8361, allocations: 4 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of Templates: time 0.002582/0.8387, allocations: 0.9559 MB / 1.096 GB, free: 0.5078 MB / 0.8575 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++17 -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:178: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