Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001271/0.001271, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001388/0.001388, allocations: 195.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.1 MB / 222.8 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 69.33 kB / 0.6717 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2244, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002119/0.2265, allocations: 0.7114 MB / 0.7842 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009367/0.2275, allocations: 0.7932 MB / 0.785 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.2276, allocations: 3.938 kB / 0.785 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.301e-05/0.2277, allocations: 8 kB / 0.785 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.873e-05/0.2278, allocations: 11.92 kB / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.288e-05/0.2279, allocations: 4 kB / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.228, allocations: 59.83 kB / 0.7851 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2281, allocations: 19.98 kB / 0.7851 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.2282, allocations: 23.92 kB / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.843e-05/0.2283, allocations: 35.84 kB / 0.7852 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.2283, allocations: 4 kB / 0.7852 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.2283, allocations: 4 kB / 0.7852 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.2284, allocations: 23.91 kB / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.2284, allocations: 23.88 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.235e-05/0.2285, allocations: 47.91 kB / 0.7853 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2285, allocations: 0 / 0.7853 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2285, allocations: 0 / 0.7853 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.2285, allocations: 0 / 0.7853 GB, free: 12.12 MB / 0.6075 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.000608/0.2292, allocations: 391.5 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2292, allocations: 8.031 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.2292, allocations: 8.844 kB / 0.7856 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.2294, allocations: 192.2 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2294, allocations: 4.312 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2295, allocations: 8.375 kB / 0.7858 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.2298, allocations: 139.8 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2298, allocations: 192 / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.2298, allocations: 3.938 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.2299, allocations: 8 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.2302, allocations: 127.8 kB / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.2308, allocations: 428.9 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.2311, allocations: 89.09 kB / 0.7866 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.2313, allocations: 69.64 kB / 0.7867 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.2313, allocations: 4 kB / 0.7867 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.2313, allocations: 30.56 kB / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.2313, allocations: 0 / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006265/0.2319, allocations: 193.4 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.232, allocations: 77.11 kB / 0.787 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2321, allocations: 125.8 kB / 0.7871 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.2321, allocations: 25.95 kB / 0.7871 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.2322, allocations: 99.98 kB / 0.7872 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.2322, allocations: 3.906 kB / 0.7872 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.2322, allocations: 21.7 kB / 0.7872 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2324, allocations: 314.8 kB / 0.7875 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.2325, allocations: 51.92 kB / 0.7876 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.2327, allocations: 69.66 kB / 0.7876 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.233, allocations: 105.6 kB / 0.7877 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.233, allocations: 0 / 0.7877 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003558/0.2334, allocations: 141.6 kB / 0.7879 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2334, allocations: 4 kB / 0.7879 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2334, allocations: 0 / 0.7879 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2334, allocations: 4 kB / 0.7879 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.2336, allocations: 15.97 kB / 0.7879 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2336, allocations: 4 kB / 0.7879 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.2337, allocations: 23.89 kB / 0.7879 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2337, allocations: 0 / 0.7879 GB, free: 9.117 MB / 0.6075 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 8.188e-05/0.2338, allocations: 125.8 kB / 0.788 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.2338, allocations: 7.938 kB / 0.788 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.2338, allocations: 11.52 kB / 0.7881 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2339, allocations: 4 kB / 0.7881 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2339, allocations: 0 / 0.7881 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2339, allocations: 3.938 kB / 0.7881 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.2341, allocations: 181.6 kB / 0.7882 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2341, allocations: 0 / 0.7882 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.94e-05/0.2342, allocations: 20.34 kB / 0.7883 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2342, allocations: 0 / 0.7883 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.2342, allocations: 3.984 kB / 0.7883 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2342, allocations: 0 / 0.7883 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2342, allocations: 7.938 kB / 0.7883 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.2347, allocations: 310.5 kB / 0.7886 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.2347, allocations: 81.05 kB / 0.7886 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.2347, allocations: 0 / 0.7886 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.2349, allocations: 27.97 kB / 0.7887 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.2349, allocations: 7.922 kB / 0.7887 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.235, allocations: 8.031 kB / 0.7887 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.545e-05/0.235, allocations: 91.27 kB / 0.7888 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.235, allocations: 0 / 0.7888 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002625/0.2353, allocations: 15.94 kB / 0.7888 GB, free: 8.129 MB / 0.6075 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.0001309/0.2354, allocations: 95.25 kB / 0.7889 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004008/0.2358, allocations: 119.8 kB / 0.789 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2358, allocations: 0 / 0.789 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.236, allocations: 63.92 kB / 0.7891 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.2364, allocations: 4 kB / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.2368, allocations: 216.2 kB / 0.7893 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.237, allocations: 0.7002 MB / 0.7899 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.2371, allocations: 7.438 kB / 0.79 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2371, allocations: 0 / 0.79 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of Templates: time 0.002635/0.2397, allocations: 0.9612 MB / 0.7909 GB, free: 5.902 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile make -j1 -f Buildings_8_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_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppBuildings_8_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_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppBuildings_8_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_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1