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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 100.4 kB / 20.45 MB, free: 1.395 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 205.5 kB / 23.74 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9508/0.9508, allocations: 149.9 MB / 463.8 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 63.19 kB / 0.6423 GB, free: 9.645 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1706, allocations: 89.19 MB / 0.7294 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001987/0.1726, allocations: 0.6193 MB / 0.73 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1738, allocations: 0.8159 MB / 0.7308 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.1738, allocations: 4 kB / 0.7308 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.94e-05/0.1739, allocations: 3.938 kB / 0.7308 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.174, allocations: 11.98 kB / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.436e-05/0.1741, allocations: 11.98 kB / 0.7308 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1742, allocations: 55.78 kB / 0.7309 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1743, allocations: 15.92 kB / 0.7309 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.264e-05/0.1744, allocations: 31.91 kB / 0.7309 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1745, allocations: 35.91 kB / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1745, allocations: 4 kB / 0.731 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.1745, allocations: 0 / 0.731 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.1746, allocations: 27.92 kB / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.1746, allocations: 15.92 kB / 0.731 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.1748, allocations: 75.7 kB / 0.7311 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1748, allocations: 0 / 0.7311 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1748, allocations: 0 / 0.7311 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1748, allocations: 3.938 kB / 0.7311 GB, free: 14.79 MB / 0.5606 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.0006339/0.1754, allocations: 322 kB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1754, allocations: 8.031 kB / 0.7314 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.1755, allocations: 8.891 kB / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1757, allocations: 126.5 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1757, allocations: 384 / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.1757, allocations: 8.375 kB / 0.7315 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.1761, allocations: 131.8 kB / 0.7316 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1761, allocations: 192 / 0.7316 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1761, allocations: 3.938 kB / 0.7317 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1761, allocations: 8 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.1765, allocations: 131.8 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.1771, allocations: 372.6 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.1773, allocations: 89.09 kB / 0.7322 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.1775, allocations: 65.7 kB / 0.7323 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.1775, allocations: 0 / 0.7323 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1776, allocations: 34.56 kB / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.1776, allocations: 0 / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0006482/0.1782, allocations: 197.5 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.1783, allocations: 81.05 kB / 0.7326 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1784, allocations: 121.8 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1784, allocations: 25.7 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.1785, allocations: 92.47 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1785, allocations: 7.938 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.1785, allocations: 17.72 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1787, allocations: 318.8 kB / 0.7331 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.1789, allocations: 60.02 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.179, allocations: 65.64 kB / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.1794, allocations: 105.7 kB / 0.7334 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1794, allocations: 0 / 0.7334 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003804/0.1797, allocations: 137.5 kB / 0.7335 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1798, allocations: 8 kB / 0.7335 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1798, allocations: 0 / 0.7335 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1798, allocations: 3.938 kB / 0.7335 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1799, allocations: 24.03 kB / 0.7335 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1799, allocations: 0 / 0.7335 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/0.18, allocations: 11.98 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.18, allocations: 7.984 kB / 0.7336 GB, free: 12.04 MB / 0.5606 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.0001014/0.1801, allocations: 129.7 kB / 0.7337 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-05/0.1802, allocations: 7.938 kB / 0.7337 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.1802, allocations: 11.47 kB / 0.7337 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1802, allocations: 0 / 0.7337 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1802, allocations: 0 / 0.7337 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1802, allocations: 8 kB / 0.7337 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.1804, allocations: 121.2 kB / 0.7338 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1804, allocations: 0 / 0.7338 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1805, allocations: 15.98 kB / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1805, allocations: 0 / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1805, allocations: 0 / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1805, allocations: 3.984 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1805, allocations: 4 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.181, allocations: 314.6 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.181, allocations: 11.95 kB / 0.7342 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.181, allocations: 0 / 0.7342 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.1812, allocations: 19.97 kB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.1812, allocations: 7.984 kB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.1812, allocations: 0 / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.517e-05/0.1813, allocations: 99.27 kB / 0.7343 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1813, allocations: 0 / 0.7343 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002518/0.1815, allocations: 12.31 kB / 0.7343 GB, free: 11.23 MB / 0.5606 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.000119/0.1816, allocations: 99.19 kB / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004014/0.1821, allocations: 115.8 kB / 0.7345 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1821, allocations: 3.938 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.1822, allocations: 64.05 kB / 0.7346 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1826, allocations: 11.98 kB / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.183, allocations: 188 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.402e-05/0.183, allocations: 87.31 kB / 0.7348 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.1831, allocations: 7.438 kB / 0.7348 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.1831, allocations: 3.938 kB / 0.7348 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.002358/0.1854, allocations: 0.9833 MB / 0.7358 GB, free: 9.617 MB / 0.5606 GB " [Timeout remaining time 660] 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 -DOMC_BUILD -DUSE_THREAD -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 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.0425002430565655] Failed to read output from testmodel.py, exit status != 0: 0.19368777191266418 0.20792823500000002 0.030186927000000002 Calling exit ...