Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 117.7 kB / 17.76 MB, free: 5.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 187 kB / 20.69 MB, free: 2.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 246.4 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.075/1.075, allocations: 147.6 MB / 446.2 MB, free: 8.34 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 72.14 kB / 0.612 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1524, allocations: 83.15 MB / 0.6932 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001823/0.1543, allocations: 0.6349 MB / 0.6939 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1553, allocations: 0.789 MB / 0.6946 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.1554, allocations: 4 kB / 0.6946 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1555, allocations: 5.219 kB / 0.6946 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.842e-05/0.1556, allocations: 6.5 kB / 0.6946 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 6.186e-05/0.1557, allocations: 13.27 kB / 0.6947 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1558, allocations: 65.42 kB / 0.6947 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.156, allocations: 17.95 kB / 0.6947 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.139e-05/0.156, allocations: 27.08 kB / 0.6948 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.14e-05/0.1561, allocations: 26.03 kB / 0.6948 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.1562, allocations: 8.531 kB / 0.6948 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.1562, allocations: 3.5 kB / 0.6948 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.1563, allocations: 25.38 kB / 0.6948 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.1563, allocations: 25.28 kB / 0.6948 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1565, allocations: 68.81 kB / 0.6949 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1565, allocations: 1.062 kB / 0.6949 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1565, allocations: 0 / 0.6949 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.1565, allocations: 4 kB / 0.6949 GB, free: 11.88 MB / 0.5137 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.0007554/0.1573, allocations: 389.7 kB / 0.6953 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1573, allocations: 9 kB / 0.6953 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.1573, allocations: 12.97 kB / 0.6953 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1576, allocations: 190.7 kB / 0.6955 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1576, allocations: 9.953 kB / 0.6955 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1576, allocations: 3.75 kB / 0.6955 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.158, allocations: 130.9 kB / 0.6956 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.158, allocations: 192 / 0.6956 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.158, allocations: 9.938 kB / 0.6956 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.1581, allocations: 0 / 0.6956 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.1584, allocations: 128.5 kB / 0.6958 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006527/0.1591, allocations: 427.2 kB / 0.6962 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.1594, allocations: 96.48 kB / 0.6963 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.1596, allocations: 62.61 kB / 0.6963 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1596, allocations: 1.375 kB / 0.6963 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.1596, allocations: 34.5 kB / 0.6964 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.1596, allocations: 5.312 kB / 0.6964 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0006578/0.1603, allocations: 184.1 kB / 0.6965 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.1604, allocations: 86.41 kB / 0.6966 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1605, allocations: 120.9 kB / 0.6967 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1605, allocations: 25.7 kB / 0.6968 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1606, allocations: 104.4 kB / 0.6969 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.1606, allocations: 9.328 kB / 0.6969 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.1607, allocations: 12.47 kB / 0.6969 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.1609, allocations: 320.2 kB / 0.6972 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1611, allocations: 52.8 kB / 0.6972 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.1613, allocations: 67.89 kB / 0.6973 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.1616, allocations: 108.4 kB / 0.6974 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1617, allocations: 1.375 kB / 0.6974 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004188/0.1621, allocations: 136.7 kB / 0.6975 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1621, allocations: 7.375 kB / 0.6975 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1621, allocations: 0 / 0.6975 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1621, allocations: 1.375 kB / 0.6975 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1623, allocations: 18.97 kB / 0.6976 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1623, allocations: 5.312 kB / 0.6976 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.565e-05/0.1624, allocations: 24.22 kB / 0.6976 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1624, allocations: 1.375 kB / 0.6976 GB, free: 9.477 MB / 0.5137 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 0.0001114/0.1625, allocations: 123.6 kB / 0.6977 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.1626, allocations: 2.75 kB / 0.6977 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.1626, allocations: 8.906 kB / 0.6977 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1626, allocations: 1.375 kB / 0.6977 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1626, allocations: 1.375 kB / 0.6977 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1626, allocations: 7.938 kB / 0.6977 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.1629, allocations: 182.1 kB / 0.6979 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1629, allocations: 0 / 0.6979 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.163, allocations: 18.97 kB / 0.6979 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.163, allocations: 1.375 kB / 0.6979 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.163, allocations: 5.375 kB / 0.6979 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.163, allocations: 0 / 0.6979 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.163, allocations: 5.359 kB / 0.6979 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/0.1635, allocations: 321.5 kB / 0.6982 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.1636, allocations: 79.73 kB / 0.6983 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1636, allocations: 384 / 0.6983 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.1638, allocations: 14.11 kB / 0.6983 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.1638, allocations: 11.05 kB / 0.6983 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1638, allocations: 5.219 kB / 0.6983 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.492e-05/0.1639, allocations: 100.9 kB / 0.6984 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1639, allocations: 0 / 0.6984 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002616/0.1642, allocations: 13.89 kB / 0.6985 GB, free: 8.633 MB / 0.5137 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.0001296/0.1643, allocations: 98.95 kB / 0.6985 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.1648, allocations: 116.7 kB / 0.6987 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1648, allocations: 0 / 0.6987 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.165, allocations: 63.2 kB / 0.6987 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1653, allocations: 13.41 kB / 0.6987 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.1658, allocations: 192.5 kB / 0.6989 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.1663, allocations: 0.6949 MB / 0.6996 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.1664, allocations: 9.562 kB / 0.6996 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1664, allocations: 3.938 kB / 0.6996 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of Templates: time 0.002588/0.169, allocations: 0.9616 MB / 0.7005 GB, free: 6.676 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] make -j1 -f IBPSA_latest_IBPSA.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_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppIBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppIBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppIBPSA_latest_IBPSA.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: *** [: OMCppIBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.270679186098278] Failed to read output from testmodel.py, exit status != 0: 0.5043885740451515 0.190165585 0.030969175 Calling exit ...